Skip to Content

Search

Natural-language search and similar records.

GET
/v1/search/semantic

Search entities using natural language. Uses vector embeddings for similarity matching. Most similar first; your key's area and genres are applied before paging.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

q*string

Search query

Length1 <= length
types?string

Comma-separated entity types to search: artist, event_series, location, festival, work, showtime. An unknown type is a 400.

limit?integer
Range1 <= value <= 50
Default10
page?integer

Page number. Pages reach down to the 500th result.

Range1 <= value
Default1
threshold?|
Range0 <= value <= 1
Default0.82

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/search/semantic?q=string'
Example Response
{  "data": [    {      "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",      "entityType": "string",      "similarity": 0    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}
GET
/v1/search/hydrated

Semantic search that returns full entity details instead of just IDs. Pages follow the semantic search; a record that cannot be shown any more (an event series without upcoming dates) is left out, so a page can hold fewer than limit items while hasMore is true.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

q*string

Search query

Length1 <= length
types?string

Comma-separated entity types to search: artist, event_series, location, festival, work, showtime. An unknown type is a 400.

limit?integer
Range1 <= value <= 50
Default10
page?integer

Page number. Pages reach down to the 500th result.

Range1 <= value
Default1
threshold?|
Range0 <= value <= 1
Default0.82
lang?string
Value in"de""en""fr""it""es""ru""zh""ja""ko""ar"

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/search/hydrated?q=string'
Example Response
{  "data": [    {      "entityId": "string",      "entityType": "string",      "similarity": 0,      "name": "string",      "shortDescription": "string",      "image": {        "host": "cixtra",        "thumbnailUrl": "string",        "thumbnailWidth": 0,        "placeholder": "string",        "width": 0,        "height": 0,        "crops": {          "square": {            "x": 0,            "y": 0,            "w": 0,            "h": 0,            "source": "auto"          },          "landscape": {            "x": 0,            "y": 0,            "w": 0,            "h": 0,            "source": "auto"          },          "portrait": {            "x": 0,            "y": 0,            "w": 0,            "h": 0,            "source": "auto"          }        },        "ladder": [          {            "url": "string",            "width": 0,            "height": 0          }        ],        "credit": "string",        "sourcePageUrl": "string",        "licenseIdentifier": "string",        "licenseUrl": "string",        "aiGenerated": true,        "decorative": true,        "rightsTier": "full",        "conditions": "string",        "creditLinkOnly": true,        "url": "string",        "alt": "string",        "copyright": "string"      },      "city": "string",      "artistType": "string",      "dateStartUtc": "string",      "locationName": "string",      "lang": "string"    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}

Find similar entities

GET
/v1/search/{entityType}/{id}/similar

Records similar to a given record. Curated matches come first (source: judged, with a reason); without them, the records closest in meaning (source: vector-fallback). Your key's area and genres are applied before paging.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Path Parameters

entityType*string
Value in"artist""event_series""location""festival""work""showtime"
id*string
Formatuuid

Query Parameters

limit?integer
Range1 <= value <= 50
Default5
page?integer

Page number. Pages reach down to the 500th result.

Range1 <= value
Default1

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/search/artist/497f6eca-6276-4993-bfeb-53cbbbba6f08/similar'
Example Response
{  "data": [    {      "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",      "entityType": "string",      "similarity": 0,      "source": "judged",      "reason": "string",      "facets": [        "string"      ]    }  ],  "pagination": {    "limit": 0,    "page": 0,    "hasMore": true  }}