Build with Estii

Match library items to a request

POST
/v1/space/{id}/library/match

Requires read scope.

Meters as AI usage against the space credit measure. Refused when the space's library setting is off, and when its plan does not permit it.

Authorization

bearerAuth
AuthorizationBearer <token>

A personal access token (estp_) or space API key (ests_).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/space/string/library/match" \  -H "Content-Type: application/json" \  -d '{    "prompt": "string"  }'
{  "groups": [    {      "label": "string",      "summary": "string",      "items": [        {          "id": "string",          "name": "string"        }      ]    }  ]}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}