Schema

Condition fields: the registry plus the project attrs_schema

GET
/v1/schema/fields

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X GET 'http://localhost:8080/v1/schema/fields'
{  "success": true,  "data": {    "sources": [      {        "prefix": "string",        "label": "string",        "open": true,        "fields": [          {            "field": "string",            "label": "string",            "type": "text",            "values": [              "string"            ]          }        ]      }    ],    "attrs": [      {        "field": "string",        "label": "string",        "type": "string",        "values": [          "string"        ]      }    ]  },  "meta": {    "request_id": "string"  }}