List tasks
GET/api/gateway/v1/tasks
Reads and cancellation use the original frozen task identity, not current model configuration. The key must retain modelInvoke and permission for the original project and route. Task recovery remains available during financial recovery subject to current identity and product authorization. Unknown or expired tasks may have been submitted: inspect and reconcile the existing task before creating another invocation. HTTP disconnect does not cancel a task.
组织 API Key 鉴权
Authorization: Bearer $SINECLOUD_API_KEY所需权限: modelInvoke
参数
limit· query · 可选cursor· query · 可选- Opaque nextCursor from the preceding page; takes precedence over before.
before· query · 可选- Alternative pagination cursor when cursor is absent.
routeId· query · 可选- Filter by an authorized original route.
x-sine-project-id· header · 可选- Select an organization project. A project-restricted key defaults to its bound project and cannot select another project. The projectId query parameter takes precedence.
projectId· query · 可选- Optional project selection; takes precedence over x-sine-project-id and must respect the key restriction.
响应
200- Visible tasks with an opaque nextCursor.
400- Invalid request, project identifier, unsupported model parameters or operation configuration.
401- Missing, expired, revoked or invalid organization Bearer API key.
403- The key scope, project restriction, route policy, current membership or product entitlement denies access.
404- The project, route or authorized task was not found.
429- Rate or concurrency limit reached. Honor Retry-After when returned.
500- Sanitized Cloud or Gateway failure.
503- Gateway or durable task execution is unavailable. Restore the required service before continuing.