PrompticPromptic

List datasets for a component

GET
/components/{componentId}/datasets

Authorization

BearerApiKey
AuthorizationBearer <token>

API key from workspace settings

In: header

Path Parameters

componentId*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/components/497f6eca-6276-4993-bfeb-53cbbbba6f08/datasets"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "description": "string",
      "aiComponentId": "5019a7c9-87f7-404d-b382-86b29517165e",
      "itemCount": 0,
      "createdAt": "string"
    }
  ]
}
{
  "error": "string"
}