Skip to main content
GET
/
v1
/
documents
/
ids=
{ids}
Get documents by ids
curl --request GET \
  --url https://api.metal.ai/v1/documents/ids={ids} \
  --header 'x-metal-api-key: <api-key>' \
  --header 'x-metal-client-id: <api-key>'
{
  "data": [
    {
      "id": "665f1c2a9b1e4a0012a3b4c5",
      "name": "Q4 board deck.pdf",
      "type": "<string>",
      "companyId": "<string>",
      "dealId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

x-metal-client-id
string
header
required

The Client ID of your API key.

x-metal-api-key
string
header
required

The secret value of your API key.

Path Parameters

ids
string
required

Comma-separated resource ids.

Response

The matching documents.

data
object[]