TrustyCap Jobs API

The Jobs API from TrustyCap — 1 operation(s) for jobs.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v1/jobs/{id} Get a job #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trustycap-com:trustycap-com-jobs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trustycap-com-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TrustyCap Developer Platform Jobs API
  version: 1.0.0
  summary: 'One platform, many capabilities: Digital Life, Protected Transactions (TRUSTY), Document Intelligence, Vehicle Intelligence, Financing Intelligence, one meter.'
  description: 'The TrustyCap Developer Platform API is a thin, governed externalization of the primitives TrustyCap''s own products use. One developer account, organization, application and credential reach every enabled capability family; every call is authorized by namespaced scopes, executed by the TrustyCap platform, and metered by the Trusty Meter. The platform answers at https://api.trustycap.com. Every material action follows plan → validate → authorize → commit → verify → receipt. See https://developers.trustycap.com for the platform and https://docs.trustycap.com for the reference.


    Conventions: prefixed ULID ids; cursor pagination (`limit`, `cursor` → `data`, `next_cursor`); `Idempotency-Key` on mutations; RFC 9457 problem responses; IETF `RateLimit-*` headers; CloudEvents webhooks signed with `TrustyCap-Signature`, also sent under its original name `Sweep-Signature`.'
  termsOfService: https://app.trustycap.com/legal/developer-terms
  contact:
    name: TrustyCap Developer Support
    url: https://developers.trustycap.com
    email: hello@trustycap.com
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  x-logo:
    url: https://trustycap.com/brand/lockup-horizontal-light.png
    altText: TrustyCap
servers:
- url: https://api.trustycap.com
  description: TrustyCap Developer Platform (test mode via sk_test_ keys)
tags:
- name: Jobs
paths:
  /v1/jobs/{id}:
    get:
      operationId: getJob
      tags:
      - Jobs
      summary: Get a job
      description: 'Two readers share this path. An application''s key with jobs.jobs:read or jobs.jobs:write reads a Managed Job. Otherwise it reads a Digital Life job (a scan, an export or a reconciliation): a person signed in reads their own; an application''s key reads its test tenant''s, and in live mode the ones it started through a connection; a token a person granted reads one with the permission covering what it did (sources:read for a scan, vault:read for an export, creator:read for a reconciliation).'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^job_[0-9A-HJKMNP-TV-Z]{26}$
      responses:
        '200':
          description: A managed job for application credentials carrying the jobs scopes (with runs_history); a Digital Life job for other credentials
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ManagedJob'
                - $ref: '#/components/schemas/Job'
        '400':
          description: 'Problem: invalid_request, validation_failed, invalid_object_key'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: 'Problem: unauthorized'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '402':
          description: 'Problem: ceiling_reached, commercial_authorization_required, commercial_denied, payment_required, payment_method_required, budget_limit_reached, storage_read_suspended, billing_suspended'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: 'Problem: action_denied, capability_not_enabled, phi_attestation_required, phi_channel_not_authorized, phi_lane_not_authorized, forbidden, insufficient_scope, live_mode_only, production_inactive, step_up_required, tenant_boundary, test_mode_only'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: 'Problem: not_found'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: 'Problem: conflict, idempotency_in_flight, idempotency_key_reused, plan_hash_mismatch, plan_not_authorized, plan_stale, plan_state_conflict, preservation_invariant, provider_reauth_required'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '410':
          description: 'Problem: plan_expired'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: 'Problem: object_too_large'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: 'Problem: provider_unsupported'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: 'Problem: provider_rate_limited, rate_limited'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          headers:
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
        '500':
          description: 'Problem: internal_error'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '501':
          description: 'Problem: unsupported'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: 'Problem: provider_error'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: 'Problem: capability_unavailable, storage_backend_unavailable, unavailable'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - sessionCookie: []
      - sessionToken: []
      - apiKey: []
      - oauth2: []
components:
  headers:
    RateLimit-Limit:
      schema:
        type: integer
      description: Requests allowed in the current window.
    RateLimit-Reset:
      schema:
        type: integer
      description: Seconds until the window resets.
    Retry-After:
      schema:
        type: integer
      description: Seconds to wait before retrying.
    RateLimit-Remaining:
      schema:
        type: integer
      description: Requests remaining in the current window.
  schemas:
    Problem:
      type: object
      properties:
        type:
          type: string
          format: uri
          description: https://docs.trustycap.com/api/errors/#<code>
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
          description: Machine-readable error code from errors.json
        request_id:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
            additionalProperties: false
      required:
      - type
      - title
      - status
      - code
      - request_id
      additionalProperties: true
      description: RFC 9457 problem details. Extension members carry what the code needs to act on (for example required_scopes, retry_after, checklist, consent_url), as RFC 9457 allows.
    Job:
      type: object
      properties:
        id:
          type: string
          pattern: ^job_[0-9A-HJKMNP-TV-Z]{26}$
          description: Prefixed ULID (job_…)
          examples:
          - job_01J8Z3K9M2Q4R6S8T0V2W4X6Y8
        kind:
          type: string
          enum:
          - scan
          - export
          - reconcile
          - index
          - migration
          - deletion
          - seed
        status:
          type: string
          enum:
          - queued
          - running
          - succeeded
          - failed
          - cancelled
        progress:
          type: integer
          minimum: 0
          maximum: 100
        params:
          oneOf:
          - type: object
            additionalProperties: true
            description: What the job was asked to do
          - type: 'null'
        result:
          oneOf:
          - type: object
            additionalProperties: true
          - type: 'null'
        error:
          oneOf:
          - type: string
          - type: 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        finished_at:
          oneOf:
          - type: string
            format: date-time
          - type: 'null'
      required:
      - id
      - kind
      - status
      - progress
      - created_at
      - updated_at
      additionalProperties: false
    ManagedJob:
      type: object
      properties:
        object:
          type: string
          enum:
          - job
        id:
          type: string
        name:
          type: string
        kind:
          type: string
          enum:
          - once
          - schedule
        mode:
          type: string
          enum:
          - live
          - test
        target_url:
          type: string
          format: uri
        payload: {}
        schedule:
          type: string
          nullable: true
          description: Five-field cron expression
        timezone:
          type: string
        status:
          type: string
          enum:
          - scheduled
          - running
          - succeeded
          - failed
          - dead
          - cancelled
          - paused
        attempts:
          type: integer
        max_attempts:
          type: integer
        timeout_seconds:
          type: integer
        dedup_key:
          type: string
          nullable: true
        next_run_at:
          type: string
          format: date-time
          nullable: true
        last_run_at:
          type: string
          format: date-time
          nullable: true
        last_status_code:
          type: integer
          nullable: true
        last_error:
          type: string
          nullable: true
        runs:
          type: integer
        deduplicated:
          type: boolean
        outcome:
          type: string
        runs_history:
          type: array
          items:
            type: object
            properties:
              attempt:
                type: integer
              started_at:
                type: string
              finished_at:
                type: string
                nullable: true
              status:
                type: string
              status_code:
                type: integer
                nullable: true
              error:
                type: string
                nullable: true
              duration_ms:
                type: integer
                nullable: true
            additionalProperties: false
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - object
      - id
      - name
      - kind
      - mode
      - target_url
      - status
      - attempts
      - max_attempts
      - created_at
      additionalProperties: false
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: sweep_session
      description: Consumer web session (HttpOnly). Mutations require an allowlisted Origin.
    sessionToken:
      type: http
      scheme: bearer
      bearerFormat: sst_…
      description: Consumer session token for native/PWA clients.
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sk_live_… | sk_test_…
      description: Developer API key. Scopes fixed at creation. sk_test_ keys operate in the isolated test tenant.
    oauth2:
      type: oauth2
      description: 'OAuth 2.1 with PKCE (S256), RFC 8707 resource indicators, refresh rotation. Discovery: /.well-known/oauth-authorization-server.'
      flows:
        authorizationCode:
          authorizationUrl: https://api.trustycap.com/oauth/authorize
          tokenUrl: https://api.trustycap.com/oauth/token
          refreshUrl: https://api.trustycap.com/oauth/token
          scopes:
            sweep.sources:read: Read connected sources and quota
            sweep.sources:write: Connect and disconnect sources
            sweep.inventory:read: Read normalized inventory, diagnosis, and the Digital State Graph
            sweep.plans:write: Create, validate, and price shadow plans; read executions and receipts
            sweep.plans:commit: Authorize and commit plans (executes actions within the user's delegation)
            sweep.vault:read: List, search, and download Vault objects and manifests
            sweep.vault:write: Upload to the Vault
            sweep.intel:read: Read trial, renewal, meter, and spend intelligence
            sweep.creator:read: Read creator revenue audits
            sweep.creator:write: Connect creator sources and upload statements
            platform.usage:read: Read usage, charges, and the commercial envelope
            platform.grants:manage: List and revoke delegation grants
            platform.account:read: Read account identity and the events the application caused
            sources:read: Read connected sources and quota
            sources:write: Connect and disconnect sources
            inventory:read: Read normalized inventory, diagnosis, and the Digital State Graph
            plans:write: Create, validate, and price shadow plans; read executions and receipts
            plans:commit: Authorize and commit plans (executes actions within the user's delegation)
            vault:read: List, search, and download Vault objects and manifests
            vault:write: Upload to the Vault
            intel:read: Read trial, renewal, meter, and spend intelligence
            creator:read: Read creator revenue audits
            creator:write: Connect creator sources and upload statements
            usage:read: Read usage, charges, and the commercial envelope
            grants:manage: List and revoke delegation grants
            account:read: Read account identity and the events the application caused
x-sweep:
  contract: docs/architecture/API-SURFACE.md
  receiptJwks: https://api.trustycap.com/.well-known/trustycap-receipts.json
  mcp: https://mcp.trustycap.com/mcp
  a2aAgentCard: https://api.trustycap.com/.well-known/agent-card.json
  oauthMetadata: https://api.trustycap.com/.well-known/oauth-authorization-server