Skip to main content
GET
/
projects
/
{project_id}
/
documents
/
{document_id}
/
metadata-values
Get metadata values for a key
import requests

url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/{document_id}/metadata-values/"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "key": "category",
  "values": [
    "Finance",
    "Legal"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.clarifeye.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Path Parameters

project_id
string<uuid>
required

UUID of the project

document_id
string<uuid>
required

UUID of the document

Query Parameters

key
string
required

The metadata key to retrieve values for

Response

Successful response

key
string

The requested metadata key

values
string[]

All values for the given key