Skip to Content
Docs

List search profiles

GET
/profiles

Authorization

jwt
headerAuthorizationBearer <JWT>

Response Body

application/json
  1. response
items*array<>
nextPageToken?string
totalCount?integer
Example Request
curl -X GET 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/profiles'
Example Response
{  "items": [    {      "id": "string",      "name": "string",      "description": "string",      "source": {        "kind": "native-object",        "objectType": "string",        "query": {          "property1": null,          "property2": null        }      },      "template": {        "language": "handlebars",        "header": "string",        "body": "string"      },      "chunking": {        "splitterId": "plain-text-window",        "size": 1600,        "overlap": 10,        "preserveBoundaries": true      },      "embedding": {        "model": "voyage-4-lite",        "dimensions": 1024      },      "projections": [],      "indexes": [],      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "hash": "string"      },      "indexStatus": "indexing"    }  ],  "nextPageToken": "string",  "totalCount": 0}