v2
latestOpenAPI 3.1.02026-08-06276982.8 KBRead file
Read contents from a file.
<Info>This acts on files in the AI Hub filesystem, not your local filesystem.</Info>
<Note>Ensure the path is accessible within the context defined by the IB-Context header.</Note>
Path parameters
Full path to the file.
Query parameters
Type of node at the target path.
Headers
Bearer HTTP authentication.
Typically your organization ID. See Authorization and context identification for details.
The portion of the file to read. A single HTTP byte range, with inclusive bounds and a non-negative start value. If not provided, return the entire file. Example: bytes=0-4
Configures retry logic if no file is found at the target path. Uses a constant backoff algorithm. Don't retry if this header isn't provided. Example: {retries:3,backoff-seconds:5}
Response
Indicates that the response contains the entire file contents.