JavaScript
import Dataframer from 'dataframer'; const client = new Dataframer({ apiKey: 'My API Key', }); const humanLabel = await client.dataframer.humanLabels.retrieve('label_id'); console.log(humanLabel.file_identifier);
{ "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "file_identifier": "<string>", "labels": {}, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "sample_identifier": "<string>", "created_by": 123, "created_by_name": "<string>", "updated_by": 123, "updated_by_name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Get a specific human label
API Key authentication. Format: "Bearer YOUR_API_KEY"
Identifier for the file (filename or folder/filename path)
JSON object mapping label keys to values
Optional: row identifier for structured files (e.g., "sample_0")