Skip to content

Can I download the complete chat response and usage as a private file?

After a confirmed text job completes, its private content route can deliver the saved chat response as an application/json attachment. Keep the job ID from the aiswaplab receipt and authenticate as the owning account with the text model scope. A JSON chat result is not an MP4 or image, even though all three task kinds use job infrastructure.

BUILD NON-STREAMING TEXT WORKFLOWSAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Save the durable identifier; Request the private content; Protect the exported conversation.
Workflow diagram: Save the durable identifier → Request the private content → Protect the exported conversation. Read the article for evidence and limits.

Retaining a receipt helps later reconciliation

The stored response includes the assistant message, measured usage and charge information from the completed task. Your application should preserve its own approved conversation record as well. Download access does not create a public share link, and passing a job ID to another account does not transfer ownership.

What to do next

  1. 01

    Save the durable identifier

    Read the confirmed response's aiswaplab.job_id and associate it with your internal user and task. Do not substitute the chatcmpl-style response ID where a job route expects the underlying job identifier.

  2. 02

    Request the private content

    Use the authenticated job content path and verify a successful JSON response. Choose an appropriate filename and avoid forcing a video extension onto the downloaded body.

  3. 03

    Protect the exported conversation

    Store or deliver it only to the authorized user. Treat message content as potentially private and keep the full response out of broad analytics or public support reports.

A concrete example

Illustrative handoff: a developer exports a completed answer's JSON receipt for an authorized internal audit. They share a redacted billing summary for troubleshooting instead of posting the full customer's conversation and account credential.

Before you call it ready

  • The correct underlying job ID is used.
  • Content-Type is handled as JSON.
  • Private conversation access is checked in your application.

When to stop or choose another method

If the task is still unknown or failed, do not fabricate a downloadable completion file. Investigate the existing state and confirmed receipt availability first.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation