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"
}
}
Retrieve a specific schema by its 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"
}
}
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?