How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Scale AI Task Retention API

The task-retention API from Scale AI — 3 operation(s) for task-retention.

Scale AI Task Retention API is one of 94 APIs that Scale AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 30 JSON Schema definitions.

Tagged areas include task-retention. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and 30 JSON Schemas.

This API exposes 4 operations across 3 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against the base URL https://agentex.sgp.scale.com.

4 operations 3 paths 19 schemas 1 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Base URL
https://agentex.sgp.scale.com
Resource Areas
1

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

task-retention 4
GET
/tasks/{task_id}/export
Export Task
export_task_tasks__task_id__export_get 1 param → 200422
POST
/tasks/{task_id}/export
Export Task To Url
export_task_to_url_tasks__task_id__export_post 1 param body → 200422
POST
/tasks/{task_id}/clean
Clean Task
clean_task_tasks__task_id__clean_post 1 param body → 200422
POST
/tasks/{task_id}/rehydrate
Rehydrate Task
rehydrate_task_tasks__task_id__rehydrate_post 1 param body → 204422

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are ToolResponseContentEntity (7 properties), StateEntity (6 properties), TaskMessageEntity (6 properties), ToolRequestContentEntity (6 properties). Each schema is shown below with its type and property counts.

RehydrateTaskRequest
object
Either provide inline content (messages + taskstates) or a snapshoturl pointing at a presigned JSON download. Mixing both is rejected. The inline form is the c…
4 properties 1 required
ToolResponseContentEntity
object
7 properties 4 required
TaskMessageEntity
object
Represents a message in the agent system. This entity is used to store messages in MongoDB, with each message associated with a specific task.
6 properties 2 required
TextContentEntity
object
6 properties 2 required
StateEntity
object
Represents a state in the agent system. A state is associated uniquely with a task and an agent. This entity is used to store states in MongoDB, with each stat…
6 properties 3 required
ExportTaskResponse
object
Wire format mirrors the entity directly — schema parity is intentional.
3 properties 1 required
HTTPValidationError
object
1 property
ReasoningContentEntity
object
5 properties 2 required
DataContentEntity
object
4 properties 2 required
ExportTaskToUrlResponse
object
5 properties 5 required
CleanTaskResponse
object
5 properties 5 required
FileAttachmentEntity
object
Represents a file attachment in messages.
4 properties 4 required
ExportTaskToUrlRequest
object
1 property 1 required
MessageStyle
string
TextFormat
string
ToolRequestContentEntity
object
6 properties 4 required
ValidationError
object
5 properties 3 required
CleanTaskRequest
object
2 properties
MessageAuthor
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

scale-ai-task-retention-api-openapi.yml Raw ↑

Other APIs Scale AI publishes across the network.

Scale REST API
Scale GenAI Data Engine
Scale Automotive Data Engine
Scale Nucleus
Scale Donovan
Scale AI Batches API
Scale AI Projects API
Scale AI Tasks API
Scale AI account groups API
Scale AI Accounts API
Scale AI Agent APIKeys API
Scale AI Agent Configs API
Where this information came from

This is an independent, third-party profile of Scale AI Task Retention API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.