Vector Store

List Documents

GET/api/v1/vector-stores/{id}/documents

Lists the documents in a vector store. Indexing progress is reported per store; see Detail.

Request

Authorization

Bearer Token

Provide your API token in the Authorization header. See Authentication to issue one.

Example:Authorization: Bearer ********************

Path Params
  • idstringrequired

    Vector store ID (vs_...).

    Example:vs_6ae7fb336d6c8191842d074ec05637f1

Responses

200

OK

  • requestIdstringrequired

    Unique ID for this request. Quote it when reporting a problem.

  • dataarray[object]required
    Child attributes
    • idstringrequired

      Document ID (file-...). Use it to remove the document.

    • namestringrequired

      File name, including extension.

    • createdAtstring | nullrequired

      ISO 8601.

400

Invalid body or parameters, e.g. an empty name or a malformed ID.

  • messagestringrequired
401

API key missing, invalid, revoked or expired.

  • messagestringrequired
404

No vector store with this ID in your workspace.

  • messagestringrequired
429

Rate limit reached. Retry after a short pause.

  • messagestringrequired
502

The AI agent service is temporarily unavailable. Retry shortly.

  • messagestringrequired