canonical: https://jentic.com/apis/scope.bid/scope

# Scope Bid Scope API

The Scope API connects law firms' enterprise legal management and case systems to Scope, which dispatches matter work to litigation-support vendors. It syncs a matter keyed on an external_matter_id, opens a dispatch for a service category, awards the dispatch to a named vendor, and reads the dispatch status. Awards and API-requested dispatches park for human approval at the firm before they commit. It also returns a paginated per-matter audit log, exports LEDES 1998B billing files, maintains the firm's vendor roster, serves analytics such as spend and vendor-health, and sends signed webhook events for the dispatch lifecycle.

## For AI agents

Sync legal matters into Scope, open and award vendor dispatches that queue for firm approval, read audit logs, export LEDES billing, and pull spend and vendor-health insights.

## Scope

Does not manage court filings, legal research, or a firm's document management system. Use for syncing matters and dispatching, approving, and billing litigation-support vendor work in Scope only.

## Capabilities

- Upsert a matter from an ELM or case system keyed on external_matter_id, with parties and jurisdiction
- Open a dispatch on a matter for a service_category and read its status by dispatch id
- Request a dispatch award to a vendor by vendor_name, parked as a pending approval for the firm to release
- Read a matter's paginated audit log and export a LEDES 1998B billing file for a date range
- Set a vendor's roster tier as primary, backup, or excluded, or remove it from the roster
- Pull insights by kind, including spend, vendor-health, credential-alerts, conflict-log, market-rate, and briefing
- Subscribe a callback URL to signed dispatch lifecycle webhooks and send a test event

## Use cases

### Agent-requested vendor dispatch with human approval

A litigation operations agent turns a new deposition request into vendor work without a developer wiring the Scope client. Through Jentic it searches for 'create a dispatch on a matter', loads the Scope dispatch operation, and submits the matter's scope_id and service_category with the bearer token injected at call time. Because Scope parks API-requested dispatches and awards for human approval and answers 409, the agent reports the pending approval instead of committing the firm.

Example prompt: POST `/api/v1/dispatches` with scope_id and service_category, treat a 409 as pending approval, then GET `/api/v1/dispatches/{dispatch_id}` to read the status

### Matter sync from an ELM

A firm running an enterprise legal management system keeps Scope in step with its matter list. Each new or changed matter is sent with external_matter_id and matter_name, plus parties, jurisdiction, and assigned users, and re-syncing the same external id updates the matter rather than duplicating it.

Example prompt: POST `/api/v1/matters/sync` with integration_source, external_matter_id, matter_name, parties, and jurisdiction for each changed matter

### Billing export and spend review

Finance and legal ops teams reconcile vendor spend per matter. Scope exports a pipe-delimited LEDES 1998B file for a matter between a start and end date, and the spend and market-rate insights summarise where money goes and how vendor rates compare by category.

Example prompt: GET `/api/v1/exports/ledes/{scope_id}` with start and end dates, then GET `/api/v1/insights/{kind}` with kind set to spend and group_by set to vendor

### Carrier visibility for insurance-defense matters

Insurance-defense firms give the carrier a read-only view of a matter without a Scope account. An attorney issues a carrier-feed token for the matter with a ttl_days lifetime, and the carrier feed returns the matter's dispatches, audit trail, spend totals, and signed export links. Tokens can be listed and revoked by nonce.

Example prompt: POST `/api/v1/scopes/{scope_id}/carrier-feed-token` with ttl_days set to 30 and share the returned token with the carrier

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/api/v1/matters/sync` | Sync a matter from an ELM or CMS |
| POST | `/api/v1/dispatches` | Create a dispatch on a matter |
| GET | `/api/v1/dispatches/{dispatch_id}` | Read dispatch status |
| POST | `/api/v1/dispatches/{dispatch_id}/award` | Award a dispatch to a vendor |
| GET | `/api/v1/scopes/{scope_id}/audit` | Read a matter's audit log |
| GET | `/api/v1/exports/ledes/{scope_id}` | Export LEDES 1998B billing |
| GET | `/api/v1/insights/{kind}` | Read insights by kind |
| POST | `/api/v1/webhooks/subscriptions` | Subscribe to dispatch events |

## Key resources

- **Matters (scopes)** — Matters synced from external systems, each with an audit log, LEDES export, and carrier feed
- **Dispatches** — Vendor work requests on a matter, opened, awarded, and released through firm approval
- **Vendor roster** — The firm's vendors with primary, backup, or excluded tiers
- **Insights** — Analytics envelopes for spend, vendor health, credential alerts, conflicts, market rates, and briefings
- **Webhook subscriptions** — HMAC-signed callbacks for dispatch lifecycle events

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 49 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 56 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 26 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 72 / 100
- **View full report:** https://jentic.com/apis/scope.bid/scope/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring Scope by hand means choosing between OAuth, personal access, and partner tokens, adding the X-Scope-On-Behalf-Of header for partner calls, and handling the 409 that API-requested dispatches return while they await approval. Through Jentic you install once, import Scope from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** Scope puts the matter id in the URL path for its audit, LEDES export, and carrier-feed routes (`/api/v1/scopes/{scope_id}/audit`), so a rule can pin your agent to one matter for those reads. Dispatch creation carries the matter in the request body, so for that call rules bound the operation, not the matter. You choose the operations it may call, so roster removal or partner-grant revocation is not included unless you add it.
- **Credential handling:** Your Scope token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'open a vendor dispatch' or 'export LEDES billing', and Jentic returns the matching Scope operation with its input schema so the agent sends the right matter and service fields.

## Related APIs

- **Clio** — Legal practice management for matters, contacts, billing, and documents
- **LEXZUR Money API** — Law-firm accounting, bills, and reconciliation

## FAQ

### What authentication does the Scope API use?

Per its OpenAPI spec, the Scope API uses HTTP bearer auth: an OAuth 2.0 access token or a personal access token sent as Authorization: Bearer, and every token resolves to one tenant. A partner client_credentials token also sends the X-Scope-On-Behalf-Of header with the firm's org id. One operation, the carrier feed at GET `/api/v1/carrier-feed/{token}`, needs no bearer token because the feed token in its path authorizes it.

### Can my agent award a Scope dispatch to a vendor?

It can request one. POST `/api/v1/dispatches/{dispatch_id}/award` takes a vendor_name and resolves it against the matter's qualified vendors, but the spec states the award parks as a pending approval and returns 409 until a person at the firm releases it from the approvals queue.

### What are the rate limits for the Scope API?

The spec says every endpoint is rate-limited but does not publish the limits. Check https://scope.bid for the current figures for your tenant.

### Is there a Scope MCP server?

You don't need an MCP server to give your agent Scope. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls the matter, dispatch, and insight operations on demand without loading another server's tool definitions into its context.

### How do I export LEDES billing through Jentic?

Search Jentic for 'export LEDES billing for a matter', load the GET `/api/v1/exports/ledes/{scope_id}` operation, and call it with the matter's scope_id and a start and end date. The response is a pipe-delimited LEDES 1998B file. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the Scope API?

Yes. Write a rule that allows only GET `/api/v1/scopes/{scope_id}/audit` and GET `/api/v1/exports/ledes/{scope_id}` for one matter id, so a reporting agent can read that matter's audit trail and billing but cannot open dispatches, change the roster, or manage webhooks. Every call it makes is logged.

### How are Scope webhook deliveries signed?

Each delivery carries an X-Scope-Signature header computed as an HMAC-SHA256 of the timestamp and body with the subscription's signing secret, plus X-Scope-Event-Id for idempotency and X-Scope-Timestamp. The secret is returned once when you create the subscription.
