Documents

list

lookup all documents across all resources which are currently on GroundX

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.

get/v1/ingest/documents

Query parameters

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.

sort'name' | 'created'

The attribute to use to sort results

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

sortOrder'asc' | 'desc'

The order in which to sort results

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

status'queued' | 'processing' | 'error' | 'complete' | 'cancelled'

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.

Response

Look up success

nextTokenstring

Example response

{
  "documents": [
    {
      "fileSize": "1.4MB"
    }
  ]
}

Changes

Changed in 12 of the 50 revisions of this API.13529

  • af54b546cf62111See the full diff
    • removed the optional property // from the response with the status

      response-optional-property-removed

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the required property // to the response with the status

      response-required-property-added

    • added the new optional query request parameter filter

      new-optional-request-parameter

    • added the new optional query request parameter sort

      new-optional-request-parameter

    • added the new optional query request parameter sortOrder

      new-optional-request-parameter

    • added the optional property /// to the response with the status

      response-optional-property-added

    • added the new optional query request parameter status

      new-optional-request-parameter

    • added the new json enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new csv enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new tsv enum value to the /// response property for the response status

      response-property-enum-value-added

  • 3bb56505863611See the full diff
    • removed the optional property /// from the response with the status

      response-optional-property-removed

    • added the optional property /// to the response with the status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • bf7061385e18132See the full diff
    • removed the optional property /// from the response with the status

      response-optional-property-removed

    • added the new cancelled enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new complete enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new docx enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new error enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new jpg enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new pdf enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new png enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new pptx enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new processing enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new queued enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new txt enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new xlsx enum value to the /// response property for the response status

      response-property-enum-value-added

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter n

      new-optional-request-parameter

    • added the new optional query request parameter nextToken

      new-optional-request-parameter

    • api tag Documents added

      api-tag-added

    • api tag Document removed

      api-tag-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog