# PayWithLocus Tasks API

**Canonical:** https://apis.io/apis/paywithlocus-com/paywithlocus-com-tasks-api/  
**Provider:** PayWithLocus — https://apis.io/providers/paywithlocus-com/  
**Base URL:** https://api.paywithlocus.com/api  
**Documentation:** https://paywithlocus.com/developers

PayWithLocus Tasks API is one of 21 APIs that [PayWithLocus](https://apis.io/providers/paywithlocus-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Task. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

Delegate a multi-step outcome to Locus with one goal string. Locus compiles an acceptance contract, discovers and calls enabled catalog capabilities with the caller's own credits and spending controls, checks every returned value against stored provider evidence, and returns structured results, files, requirement statuses, and settled cost. Enabled when the deployment sets LOCUS_TASKS_ENABLED.

## Operations (2)

| Method | Path | Summary |
|---|---|---|
| POST | `/credits/tasks` | Run a task from a goal (submit, wait, cancel, respond, resume) |
| GET | `/credits/tasks/artifacts/{token}` | Download a task artifact |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/paywithlocus-com/openapi/paywithlocus-com-tasks-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/paywithlocus-com/json-schema/paywithlocus-com-task-envelope-schema.json

## Other PayWithLocus APIs (12)

- [PayWithLocus Agent-native onboarding API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-agent-native-onboarding-api/)
- [PayWithLocus Authentication API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-authentication-api/)
- [PayWithLocus Burn API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-burn-api/)
- [PayWithLocus Catalog API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-catalog-api/)
- [PayWithLocus Custom APIs API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-custom-apis-api/)
- [PayWithLocus Customers API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-customers-api/)
- [PayWithLocus End users API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-end-users-api/)
- [PayWithLocus Hosted Workflows API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-hosted-workflows-api/)
- [PayWithLocus Ledger API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-ledger-api/)
- [PayWithLocus MCP API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-mcp-api/)
- [PayWithLocus Okibi Identity API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-okibi-identity-api/)
- [PayWithLocus Resources API](https://apis.io/apis/paywithlocus-com/paywithlocus-com-resources-api/)

## Tags

Task

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/paywithlocus-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

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