logo
Documents

lookup

get
https://api.groundx.ai/api/v1/ingest/documents/{id}

lookup the document(s) associated with a processId, bucketId, or projectId.

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

Execute an API Request

Path
idintegerrequired

a processId, bucketId, or projectId

Query
ninteger

The maximum number of returned documents. Accepts 1-100 with a default of 20.

filterstring

Only documents with names that contain the filter string will be returned in the results.

sortstring

The document attribute that will be used to sort the results.

sortOrderstring

The order in which to sort the results. A value for sort must also be set.

statusstring

A status filter on the get documents query. If this value is set, then only documents with this status will be returned in the results.

nextTokenstring

A token for pagination. If the number of documents for a given query is larger than n, the response will include a "nextToken" value. That token can be included in this field to retrieve the next batch of n documents.

Authorization
Request
Installation
$
npm install groundx-typescript-sdk
1
Loading...

Response fields

object
countinteger

The number of results returned in the current response

documentsarray of objects
nextTokenstring
totalinteger

The total number of results found

1
{
2
"message": "The method you used is not supported for this query"
3
}