Skip to main content
GET
/
api
/
v2
/
upload-session
/
{uuid}
Retrieve an upload session
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/upload-session/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_valid": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "documents": [
    {
      "id": 123,
      "updated_at": "2023-11-07T05:31:56Z",
      "workspace": "<string>",
      "title": "<string>",
      "collection": 123,
      "status": "pending"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

The UUID of the upload session

Response

Response serializer for upload session details.

uuid
string<uuid>
required

Unique identifier for the upload session

is_valid
boolean
required

Whether the upload session is currently valid and active

created_at
string<date-time>
required

Timestamp when the upload session was created

updated_at
string<date-time>
required

Timestamp when the upload session was last updated

documents
object[]
required

List of documents associated with this upload session