Get available file capabilities

Changed on

This endpoint returns all available file capabilities based on the configured file processors and model capabilities. An optional model_id can be provided to get capabilities specific to that model (particularly for image understanding).

get/api/v1beta/me/file-capabilities

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Query parameters

model_idstring

Optional model ID to get capabilities specific to that model

Response

Successfully retrieved file capabilities

extensionsstring[] required

File extensions this capability applies to (e.g., ["docx", "doc"]) Special value "*" indicates all extensions

idstring required

Stable identifier (e.g., 'word', 'pdf', 'image', 'other')

mime_typesstring[] required

MIME types this capability applies to (e.g., ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"]) May contain wildcards like "image/" or "/*"

operationsFileOperation[] required

Operations that can be performed on matching files

upload_allowedboolean

Whether this file type may be uploaded under the active deployment policy.

Changes