---
title: "Download AI Prompt Completion"
method: GET
path: "/users/{userId}/ai/prompts/{aiPromptId}/completions/{completionId}/download"
tags: ["AI"]
---

# Download AI Prompt Completion

`GET /users/{userId}/ai/prompts/{aiPromptId}/completions/{completionId}/download`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/users/{userId}/ai/prompts/{aiPromptId}/completions/{completionId}/download`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-api-v2/docs/users/:userId/ai/prompts/:aiPromptId/completions/:completionId/download/get.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `ai.prompt` (Read only).

## Path parameters

- `userId` integer, required
- `aiPromptId` integer, required
- `completionId` string, required

## Response `200`

AI prompt completion download URL

- DownloadLinkResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` DownloadLink, required: Class DownloadLinkResponseModel
    - `url` string
    - `expireIn` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project, AI prompt or completion with specified id was not found
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-api-v2/revisions/ad8435467995?raw)
