GET
/
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

startDate
string
Example:

"2025-03-01"

endDate
string
Example:

"2025-03-25"

Search schemas by name

Example:

"news"

page
integer
Example:

1

limit
integer
Example:

5

Response

200 - application/json
200
data
object
message
string
Example:

"Schemas fetched successfully"

status
boolean
Example:

true