Skip to main content
Retrieve the parsed content of a file. Only files with purpose=file-extract are supported.

Endpoint

GET https://api.stepfun.ai/v1/files/{file_id}/content

Path parameters

  • file_id string required
    Unique file ID.

Response

Returns the file’s parsed content as plain text.

Example