# SpicyAPI Tasks API

**Canonical:** https://apis.io/apis/spicyapi/spicyapi-tasks-api/  
**Provider:** SpicyAPI — https://apis.io/providers/spicyapi/  
**Base URL:** https://api.spicyapi.ai  
**Documentation:** https://docs.spicyapi.ai/docs/api-reference

SpicyAPI Tasks API is one of 5 APIs that [SpicyAPI](https://apis.io/providers/spicyapi/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Tasks. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

The Tasks API from SpicyAPI — 7 operation(s) for tasks.

## Operations (7)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/v1/jobs/quote` | Quote a task before reserving funds |
| POST | `/api/v1/jobs/createTask` | Create an asynchronous generation task |
| GET | `/api/v1/jobs/recordInfo` | Get a task created by the authenticated API key |
| POST | `/api/v1/jobs/stream` | Run a text model and stream the answer |
| POST | `/api/v1/jobs/retry` | Create a new task from a failed or expired task |
| POST | `/api/v1/jobs/purge` | Destroy the stored content of a finished task |
| GET | `/api/v1/jobs` | List task history for the authenticated API key |

## Machine-readable artifacts (7)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/openapi/spicyapi-tasks-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-create-task-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-chat-completion-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-open-aimodel-list-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-chat-completion-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-gemini-generate-content-request-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/spicyapi/refs/heads/main/json-schema/spicyapi-response-object-schema.json

## Other SpicyAPI APIs (4)

- [SpicyAPI Account API](https://apis.io/apis/spicyapi/spicyapi-account-api/)
- [SpicyAPI Media API](https://apis.io/apis/spicyapi/spicyapi-media-api/)
- [SpicyAPI Models API](https://apis.io/apis/spicyapi/spicyapi-models-api/)
- [SpicyAPI OpenAI Compatible API](https://apis.io/apis/spicyapi/spicyapi-openai-compatible-api/)

## Tags

Tasks

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/spicyapi/spicyapi-tasks-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/spicyapi/.
