Skip to main content
POST
/
api
/
run
/
embeddings
/
queries
/
getEmbeddingsBySource
getEmbeddingsBySource
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/embeddings/queries/getEmbeddingsBySource \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "paginationOpts": {
      "cursor": "<string>",
      "endCursor": "<string>",
      "id": 123,
      "maximumBytesRead": 123,
      "maximumRowsRead": 123,
      "numItems": 123
    },
    "sourceId": "<string>",
    "sourceType": "user"
  }
}'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": {
    "continueCursor": "<string>",
    "isDone": true,
    "page": [
      {
        "_creationTime": 123,
        "_id": "<string>",
        "createdAt": 123,
        "dimensions": 123,
        "metadata": {},
        "model": "<string>",
        "sourceId": "<string>",
        "sourceType": "user",
        "version": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object