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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sagaris:sagaris-deals-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
openapi: 3.2.0
info:
title: SAGARIS Public Deals API
version: 1.0.0
description: 'Versioned public REST API (/api/v1). Authenticate with a workspace-scoped API key as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key; no client-supplied workspace id is ever trusted. Writes are rate-limited per key, and the writes that declare an Idempotency-Key header honour it. This document is served unauthenticated as developer documentation.'
termsOfService: https://www.sagaris.ai/terms
contact:
name: SAGARIS Support
url: https://www.sagaris.ai/contact
email: support@sagaris.ai
servers:
- url: https://www.sagaris.ai/api/v1
description: Versioned public API surface.
security:
- ApiKeyAuth: []
tags:
- name: Deals
description: Create opportunities for workspace contacts.
paths:
/deals:
post:
tags:
- Deals
summary: Create a deal / opportunity
description: Create an opportunity for a workspace-owned contact. When the contact's lifecycle requires it, a valid bant_assessment is mandatory (same BANT gate as the internal create path). Requires the deals.write scope.
operationId: createDeal
security:
- ApiKeyAuth:
- deals.write
parameters:
- name: Idempotency-Key
in: header
required: false
description: Opaque client-supplied key. A retry with the same key replays the original response instead of writing again.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- contact_id
- title
properties:
contact_id:
type: string
description: A contact in the key's workspace.
title:
type: string
value:
type: number
description: Deal value; defaults to 0.
default: 0
currency:
type: string
description: ISO currency code; defaults to USD.
default: USD
stage:
type: string
default: prospecting
enum:
- prospecting
- qualification
- proposal
- negotiation
- closed_won
- closed_lost
bant_assessment:
type: object
additionalProperties: true
description: Required only when the contact's lifecycle gate demands BANT confirmation.
responses:
'201':
description: The created opportunity.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Deal'
error:
type: 'null'
required:
- data
- error
'400':
description: Validation failure or BANT confirmation required (code bant_required).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, malformed, invalid, revoked, or expired API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key does not hold the required scope for this operation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: The referenced resource was not found in the key's workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Per-key write rate limit exceeded (60 requests / 60s).
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Lookup or insert failure.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: The database / API-keys table is not provisioned.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
description: The standard v1 error envelope.
properties:
data:
type: 'null'
error:
type: string
description: Human-readable error message.
code:
type: string
description: Machine-readable error code (e.g. validation_failed, rate_limited).
correlationId:
type: string
description: Present on unexpected 500s for support correlation.
required:
- data
- error
Deal:
type: object
properties:
id:
type: string
contact_id:
type: string
workspace_id:
type: string
title:
type: string
value:
type: number
currency:
type: string
stage:
type: string
probability:
type: number
nullable: true
expected_close_date:
type: string
format: date
nullable: true
created_at:
type: string
format: date-time
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
description: 'Workspace-scoped API key presented as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key.'