Get Record
This endpoint retrieves the details of a specific record within a collection in TaskingAI.
Endpoint
- Method:
GET
- URL:
https://api.tasking.ai/v1/collections/{collection_id}/records/{record_id}
Path Parameters
Parameter | Type | Description |
---|---|---|
collection_id | string | The unique identifier for the collection. |
record_id | string | The unique identifier for the record. |
Header Parameters
All TaskingAI API requests require the following headers:
Header | Type | Description |
---|---|---|
Content-Type | string | The content type of the request. Set to application/json . |
Authorization | string | API key for authorization in the format Bearer $TASKINGAI_API_KEY . The key can be obtained in the project settings in your TaskingAI console. |
Response Example
{
"status": "success",
"data": {
"object": "Record",
"record_id": "record_1",
"collection_id": "collection_1",
"title": "record_1",
"status": "creating",
"num_chunks": 1,
"type": "text",
"content": "content",
"metadata": {},
"updated_timestamp": 1730210035453,
"created_timestamp": 1730210035453
}
}