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.
openapi: 3.2.0
info:
title: OpenAgreements read surfaces Surveys API
version: 1.0.0
description: Read-only HTTP discovery endpoints for OpenAgreements. The primary programmatic interface is the Model Context Protocol (MCP) server at https://openagreements.org/api/mcp (JSON-RPC over streamable HTTP, no auth), which is not a REST API and is therefore described in the A2A agent card (/.well-known/agent-card.json) rather than here. The paths below are the stable, unauthenticated GET surfaces an HTTP-only agent can use for discovery.
contact:
name: OpenAgreements
url: https://openagreements.org
servers:
- url: https://openagreements.org
tags:
- name: Surveys
paths:
/api/surveys/{topic}/forms-evidence:
get:
operationId: getFormsSurveyEvidence
summary: Raw evidence dataset for a forms survey
description: The complete machine-readable dataset behind a forms survey at /surveys/{topic}/forms.
parameters:
- name: topic
in: path
required: true
description: The survey slug, e.g. restrictive-covenant.
schema:
type: string
responses:
'200':
description: The survey's evidence dataset.
content:
application/json:
schema:
type: object
properties:
type:
type: string
const: forms-provider-survey-evidence
slug:
type: string
asOf:
type: string
description: ISO date the survey was last updated.
sample:
type: object
evidenceCellCount:
type: integer
requirements:
type: array
items:
type: object
properties:
id:
type: string
label:
type: string
valueType:
type: string
required:
- id
- label
forms:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
sourceUrl:
type: string
required:
- id
- name
- sourceUrl
cells:
type: object
'404':
description: No survey exists for the given topic slug.
content:
application/json: {}
'405':
description: Method not allowed; only GET is supported.
content:
application/json: {}
'500':
description: The evidence table failed to load.
content:
application/json: {}
tags:
- Surveys