Get a list of all available schemas
curl --request GET \
--url https://api.withflora.io/v1/schemas \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"createdAt": "2025-03-20T15:37:16.163+00:00",
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"items": {
"properties": {
"link": {
"describe": "URL to learn more",
"type": "string"
},
"summary": {
"describe": "The news summary",
"type": "string"
},
"title": {
"describe": "The article title",
"type": "string"
}
},
"type": "object"
},
"required": true,
"type": "array"
}
}
],
"meta": {
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "/?page=1",
"lastPage": 1,
"lastPageUrl": "/?page=1",
"nextPageUrl": null,
"perPage": 10,
"previousPageUrl": null,
"total": 5
}
},
"message": "Schemas fetched successfully",
"status": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"2025-03-01"
"2025-03-25"
Search schemas by name
"news"
1
5
200
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.withflora.io/v1/schemas \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"createdAt": "2025-03-20T15:37:16.163+00:00",
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"items": {
"properties": {
"link": {
"describe": "URL to learn more",
"type": "string"
},
"summary": {
"describe": "The news summary",
"type": "string"
},
"title": {
"describe": "The article title",
"type": "string"
}
},
"type": "object"
},
"required": true,
"type": "array"
}
}
],
"meta": {
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "/?page=1",
"lastPage": 1,
"lastPageUrl": "/?page=1",
"nextPageUrl": null,
"perPage": 10,
"previousPageUrl": null,
"total": 5
}
},
"message": "Schemas fetched successfully",
"status": true
}
Get a list of all available schemas
curl --request GET \
--url https://api.withflora.io/v1/schemas \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"createdAt": "2025-03-20T15:37:16.163+00:00",
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"items": {
"properties": {
"link": {
"describe": "URL to learn more",
"type": "string"
},
"summary": {
"describe": "The news summary",
"type": "string"
},
"title": {
"describe": "The article title",
"type": "string"
}
},
"type": "object"
},
"required": true,
"type": "array"
}
}
],
"meta": {
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "/?page=1",
"lastPage": 1,
"lastPageUrl": "/?page=1",
"nextPageUrl": null,
"perPage": 10,
"previousPageUrl": null,
"total": 5
}
},
"message": "Schemas fetched successfully",
"status": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"2025-03-01"
"2025-03-25"
Search schemas by name
"news"
1
5
200
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.withflora.io/v1/schemas \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"createdAt": "2025-03-20T15:37:16.163+00:00",
"id": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"name": "News Articles",
"structure": {
"items": {
"properties": {
"link": {
"describe": "URL to learn more",
"type": "string"
},
"summary": {
"describe": "The news summary",
"type": "string"
},
"title": {
"describe": "The article title",
"type": "string"
}
},
"type": "object"
},
"required": true,
"type": "array"
}
}
],
"meta": {
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "/?page=1",
"lastPage": 1,
"lastPageUrl": "/?page=1",
"nextPageUrl": null,
"perPage": 10,
"previousPageUrl": null,
"total": 5
}
},
"message": "Schemas fetched successfully",
"status": true
}