POST
/
vectorize
/
groups
/
{group_id}
/
query
curl --request POST \
  --url https://uploads.pinata.cloud/v3/vectorize/groups/{group_id}/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>"
}'
{
  "data": {
    "count": 123,
    "matches": [
      {
        "file_id": "<string>",
        "cid": "<string>",
        "score": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

group_id
string
required

ID of the target group

Body

application/json
text
string

Query string

Response

200 - application/json
Vectorize File Response
data
object