Skip to main content

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

ParameterTypeDescription
collection_idstringThe unique identifier for the collection.
record_idstringThe unique identifier for the record.

Header Parameters

All TaskingAI API requests require the following headers:

HeaderTypeDescription
Content-TypestringThe content type of the request. Set to application/json.
AuthorizationstringAPI 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
}
}