---
title: "Office documents endpoint documentation"
method: GET
path: "/context/office-documents"
tags: ["Context"]
---

# Office documents endpoint documentation

`GET /context/office-documents`

## Request

- Base URL: `https://api.filegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.filegraph.ai/context/office-documents`
- Auth: API key in header `X-API-Key`

Docs for /docx/to-text, /docx/to-pdf, /xlsx/to-text, /xlsx/to-pdf, /xlsx/to-csv, /pptx/to-text, /pptx/to-pdf, /pptx/to-images — extract text/data, convert word/excel/powerpoint to pdf/csv/images.

## Query parameters

- `language` string, nullable: Language for code examples (e.g. 'go_native', 'shell_curl'). Defaults to Python HTTPX.
- `endpoint` string, nullable: Get docs for a single endpoint only (reduces response size). Valid values: /docx/to-text, /docx/to-pdf, /xlsx/to-text, /xlsx/to-pdf, /xlsx/to-csv, /pptx/to-text, /pptx/to-pdf, /pptx/to-images

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/filegraph/apis/docconvert-api.md) · [All operations](https://skmtc.dev/filegraph/apis/docconvert-api/llms.txt) · [OpenAPI document](https://skmtc.dev/filegraph/apis/docconvert-api/revisions/436255c85bd4?raw)
