Schemas
Get Schema
Schemas
Get Schema
Retrieve a specific schema by its ID
GET
/
schemas
/
{id}
curl --request GET \
--url https://api.flora.withflora.ai/schemas/00f9190e-9a4a-4e08-ba00-f888437ed3c4 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Schema retrieved successfully",
"data": {
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"describe": "The article title"
},
"summary": {
"type": "string",
"describe": "The news summary"
},
"link": {
"type": "string",
"describe": "URL to learn more"
}
}
}
},
"createdAt": "2025-03-20T15:37:16.163+00:00"
}
}
This endpoint retrieves a specific schema using its unique identifier.
Path Parameters
The unique identifier of the schema to retrieve
Response
Indicates if the request was successful
A message describing the result of the operation
curl --request GET \
--url https://api.flora.withflora.ai/schemas/00f9190e-9a4a-4e08-ba00-f888437ed3c4 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Schema retrieved successfully",
"data": {
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"describe": "The article title"
},
"summary": {
"type": "string",
"describe": "The news summary"
},
"link": {
"type": "string",
"describe": "URL to learn more"
}
}
}
},
"createdAt": "2025-03-20T15:37:16.163+00:00"
}
}
Was this page helpful?
curl --request GET \
--url https://api.flora.withflora.ai/schemas/00f9190e-9a4a-4e08-ba00-f888437ed3c4 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Schema retrieved successfully",
"data": {
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"describe": "The article title"
},
"summary": {
"type": "string",
"describe": "The news summary"
},
"link": {
"type": "string",
"describe": "URL to learn more"
}
}
}
},
"createdAt": "2025-03-20T15:37:16.163+00:00"
}
}