TeamYou Proposals API
Your first-pass proposal for your person to review in TeamYou, made during onboarding. Only your person approves it, on the TeamYou review page; no API call can.
Your first-pass proposal for your person to review in TeamYou, made during onboarding. Only your person approves it, on the TeamYou review page; no API call can.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/teamyou-com:teamyou-com-proposals-api"
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.
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: 3.2.0
info:
title: TeamYou External Proposals API
version: 2.67.0
description: 'REST contract for the TeamYou external API (`/api/external/v1`).
**Recommended: use the TeamYou skill** — it is the supported path. The skill installs from
the link below, identifies every request, and registers your agent in one step.
Raw HTTP works today, but client-identification enforcement is being rolled out. Once it is
enabled, a call with no recognized `X-TeamYou-Client` is rejected with a 403
`client_identification_required` (carrying `skill_install_url`, `registerUrl`, and `docs_url`).
Provisioned tool integrations are the planned non-skill path; until then, install the skill.
If an automated call is unexpectedly rejected, stop and report it rather than changing how the
client identifies itself.
**MCP.** The same operations are also served over the Model Context Protocol at
`https://www.teamyou.com/mcp` — same scopes, same handlers; the tool catalogue is generated from
this contract. Authentication follows the client: OAuth for the ones that speak it (Claude
Code, Claude Desktop / claude.ai, Cursor, Codex, ChatGPT), and `Authorization: Bearer
ty_` for header-only clients.
A read-only server is at `https://www.teamyou.com/mcp/readonly`: only the reading tools are offered, a
sign-in there asks for `read` alone, and a key presented there can change nothing whatever
scopes it holds.
https://www.teamyou.com/mcp/install says which is which and carries the configuration for each.
All endpoints require `Authorization: Bearer ty_` except `GET /openapi.json`. Any 2xx body
may also carry an optional `agent_ecosystem_notice` when the calling skill client is outdated, and
a `never_save_notice`, once per key, after the person''s never-save settings change: follow its `line`
from then on in everything you save.
**Scopes.** Each API key carries a fixed set of scopes chosen when it was created. Every
operation below publishes what it needs as `x-teamyou-scope` — a string, or an array when an
operation composes two writes and requires ALL of them; a key without one gets a 403
`insufficient_scope` carrying `required_scope` and `granted_scopes`. That denial is NOT
retryable — scopes cannot be edited after creation, so the fix is a new key, not another
attempt. Scopes are separate from the account-wide AI preferences and compose with them as
AND: a call needs the scope on its key AND the preference on the account.'
x-teamyou-skill:
installUrl: https://www.teamyou.com/api/skill/install
docsUrl: https://www.teamyou.com/api/external/v1/openapi.json
recommended: true
servers:
- url: https://www.teamyou.com/api/external/v1
security:
- bearerAuth: []
tags:
- name: Proposals
description: Your first-pass proposal for your person to review in TeamYou, made during onboarding. Only your person approves it, on the TeamYou review page; no API call can.
paths:
/proposals:
post:
tags:
- Proposals
operationId: proposals-create
summary: Submit a proposal for your person to review
description: 'Submits your first-pass proposal for your person to review in TeamYou. Nothing is saved to their workspace yet: give them `reviewUrl`, where they untick what they don''t want, choose for any likely duplicate, and click Add to TeamYou, which saves it all at once. Only your person approves a proposal, on its TeamYou review page (`reviewUrl`): no API call can. When they say they are done, read it back with `proposals get`.'
x-cli:
service: proposals
action: create
usage: <file>
x-mcp:
expose: true
x-teamyou-scope: work:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProposalRequest'
responses:
'201':
description: The proposal, in review.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Max requests in the window.
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Seconds until the window resets.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ProposalResponse'
description: May also include an optional `agent_ecosystem_notice` or `never_save_notice` (see schemas).
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/AgentGate'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/SecretRefused'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/RateLimitUnavailable'
/proposals/{id}:
get:
tags:
- Proposals
operationId: proposals-get
summary: Get a proposal
description: 'Returns the proposal, its duplicate flags and your person''s choices; once they have clicked Add to TeamYou (status `applied`), `result` holds the id each ref became, what was created, reused and skipped, and a titled link for each created area, topic and project. Adding it ticks the steps the person''s review closes; read the project for the next open step. Only your person approves a proposal, on its TeamYou review page (`reviewUrl`): no API call can. Another account''s proposal is a 404, as a missing one is.'
x-cli:
service: proposals
action: get
usage: <proposal_id>
x-mcp:
expose: true
x-teamyou-scope: read
parameters:
- name: id
in: path
required: true
schema:
type: string
minLength: 1
description: Proposal id
responses:
'200':
description: The proposal.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Max requests in the window.
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Seconds until the window resets.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ProposalResponse'
description: May also include an optional `agent_ecosystem_notice` or `never_save_notice` (see schemas).
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/AgentGate'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/RateLimitUnavailable'
put:
tags:
- Proposals
operationId: proposals-update
summary: Revise a proposal in review
description: 'Replaces the proposal''s `playback`, `items`, or both while it is in review; new items recompute the duplicate flags; on the review page your person''s choices on unchanged items (same ref, same content) are kept and new or changed ones are marked, and the review link stays the same. Applied, rejected or expired is a 409. Only your person approves a proposal, on its TeamYou review page (`reviewUrl`): no API call can.'
x-cli:
service: proposals
action: update
usage: <proposal_id> <file>
x-mcp:
expose: true
x-teamyou-scope: work:write
parameters:
- name: id
in: path
required: true
schema:
type: string
minLength: 1
description: Proposal id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateProposalRequest'
responses:
'200':
description: The revised proposal.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Max requests in the window.
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Seconds until the window resets.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ProposalResponse'
description: May also include an optional `agent_ecosystem_notice` or `never_save_notice` (see schemas).
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/AgentGate'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/SecretRefused'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/RateLimitUnavailable'
components:
schemas:
ProposalBuiltLink:
type: object
properties:
ref:
type: string
kind:
type: string
enum:
- area
- topic
- project
title:
type: string
url:
type: string
format: uri
description: A TeamYou page for your person.
required:
- ref
- kind
- title
- url
ProposalArea:
type: object
properties:
kind:
type: string
enum:
- area
ref:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
source:
type: string
enum:
- conversation
- agent_memory
name:
type: string
minLength: 1
maxLength: 255
parentRef:
type: string
required:
- kind
- ref
- source
- name
additionalProperties: false
ProposalApplyResult:
type: object
properties:
ids:
type: object
additionalProperties:
type: string
description: Each ref that was built, to the id it became or the existing row it was pointed at.
created:
type: object
properties:
areas:
type: integer
topics:
type: integer
details:
type: integer
projects:
type: integer
tasks:
type: integer
links:
type: integer
description: Topic-to-topic links.
filings:
type: integer
description: Things filed into an area (an area nested in another included) or put on a project.
required:
- areas
- topics
- details
- projects
- tasks
- links
- filings
reused:
type: array
items:
type: object
properties:
ref:
type: string
kind:
type: string
enum:
- area
- topic
- project
id:
type: string
required:
- ref
- kind
- id
skipped:
type: array
items:
$ref: '#/components/schemas/ProposalSkip'
unconnected:
type: array
items:
type: string
description: Refs of created topics and projects in no area and linked to nothing.
links:
type: array
items:
$ref: '#/components/schemas/ProposalBuiltLink'
description: 'A titled page for each created area, topic and project: give your person a few of these to look at.'
unnested:
type: array
items:
type: object
properties:
ref:
type: string
parentRef:
type: string
reason:
type: string
enum:
- parent_excluded
- existing_area
required:
- ref
- parentRef
- reason
description: 'Areas built without the nesting their `parentRef` asked for: `parent_excluded`, your person left the parent out; `existing_area`, they used an area they already had, which stays where it is. Tell them.'
required:
- ids
- created
- reused
- skipped
- unconnected
- links
description: What Add to TeamYou did. Set once the proposal is applied.
ProposalProject:
type: object
properties:
kind:
type: string
enum:
- project
ref:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
source:
type: string
enum:
- conversation
- agent_memory
name:
type: string
minLength: 1
maxLength: 255
goal:
type: string
minLength: 1
maxLength: 5000
areaRef:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
tasks:
type: array
items:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 500
assigneeAgentId:
type:
- string
- 'null'
minLength: 1
maxLength: 64
required:
- title
- assigneeAgentId
additionalProperties: false
maxItems: 50
required:
- kind
- ref
- source
- name
additionalProperties: false
ProposalFlag:
type: object
properties:
ref:
type: string
kind:
type: string
enum:
- area
- topic
- project
candidates:
type: array
items:
$ref: '#/components/schemas/ProposalDuplicateCandidate'
description: What your person already has that this may be, exact matches first (at most 5).
required:
- ref
- kind
- candidates
description: 'An item that may be something your person already has. They choose on the review page: use the existing one (the default), keep it separate, or leave it out.'
ProposalSkip:
type: object
properties:
ref:
type: string
reason:
type: string
enum:
- excluded
- endpoint_excluded
- self_link
- already_linked
- already_filed
detail:
type: string
description: The other ref involved, when there is one.
required:
- ref
- reason
ProposalDuplicateCandidate:
type: object
properties:
id:
type: string
name:
type: string
match:
type: string
enum:
- exact
- prefix
description: '`exact`: the same name, ignoring case. `prefix`: the existing name starts with the proposed one and a space ("Ana" and "Ana Ruiz").'
required:
- id
- name
- match
ProposalItem:
oneOf:
- $ref: '#/components/schemas/ProposalArea'
- $ref: '#/components/schemas/ProposalTopic'
- $ref: '#/components/schemas/ProposalDetail'
- $ref: '#/components/schemas/ProposalProject'
- $ref: '#/components/schemas/ProposalLink'
ProposalTopic:
type: object
properties:
kind:
type: string
enum:
- topic
ref:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
source:
type: string
enum:
- conversation
- agent_memory
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
minLength: 1
maxLength: 1000
person:
type: boolean
areaRef:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
required:
- kind
- ref
- source
- name
additionalProperties: false
CreateProposalRequest:
type: object
properties:
kind:
type: string
enum:
- onboarding
playback:
type:
- string
- 'null'
maxLength: 4000
description: What you heard, in your own words, shown on the review page.
items:
type: array
items:
$ref: '#/components/schemas/ProposalItem'
minItems: 1
maxItems: 100
description: 'Areas, topics (`person: true` for a person, shown under People and saved as an ordinary topic), details on a topic, projects with tasks, and links. Each item has a `ref`, a slug unique in the proposal that other items point at (`areaRef`, `topicRef`, `fromRef`, `toRef`), and a `source`: `conversation` (your person said it) or `agent_memory` (you already knew it). A link joins two topics, or puts one end on a project; file into an area with `areaRef`, and nest an area with `parentRef` (the ref of another area, or the id `area_…` of an area your person has). Every task names its owner in `assigneeAgentId`: an agent id or slug (yours for your own steps), or null for your person; never put the owner in the title. An unknown or retired agent is a 400. Topic names must differ. A bad or wrong-kind ref, or a link to itself, is a 400 naming the field. Never send what you leave out (`leftOut`): say it in the chat; it is refused and never stored.'
x-mcp-description: 'Areas, topics, details, projects with tasks, links; each has a unique slug `ref` others point at, and a `source`. Each task needs `assigneeAgentId`: an agent id or slug, or null for your person, never the owner in the title. Never send `leftOut`.'
required:
- items
additionalProperties: false
ProblemDetails:
type: object
description: RFC 9457 Problem Details, served as application/problem+json. Carries a stable machine-readable `code` plus error-specific extension members.
properties:
type:
type: string
format: uri
description: 'Stable problem-type identifier URI; resolves to this contract with an #error-<code> fragment.'
title:
type: string
description: Short, stable summary of the problem type.
status:
type: integer
code:
type: string
description: Stable machine-readable error code, e.g. validation_error, invalid_json, not_found, conflict, idempotency_in_progress, idempotency_key_reused, agent_not_registered, agent_retired, client_identification_required, skill_update_required, client_update_nudge, insufficient_scope, ack_invalid, rate_limit_exceeded, quota_exceeded, product_limit_exceeded, internal_error.
detail:
type: string
description: Instance-specific human-readable explanation.
instance:
type: string
description: Optional URI identifying this specific occurrence.
fix:
type: string
description: 'Present on AI-preference denials (AI_UPDATE_DISABLED / AI_DELETE_DISABLED / AI_SHARE_DISABLED): one plain-ASCII line naming every Settings switch that blocks this action and where to find them. Relay `fix` to your person as-is.'
blockedPreferences:
type: array
items:
type: string
enum:
- aiUpdateEnabled
- aiDeleteEnabled
- aiShareEnabled
description: 'Present on AI-preference denials: every account preference that blocks this action, so one 403 names them all (a sharing call can be blocked by two). requiredPreference is the first of them.'
settingsUrl:
type: string
format: uri
description: Present on AI-preference denials, where it links to the Settings section holding the account-wide agent blocks, and on plan-limit denials, where it links to Settings.
required:
- type
- title
- status
- code
additionalProperties: true
Proposal:
type: object
properties:
id:
type: string
kind:
type: string
enum:
- onboarding
status:
type: string
enum:
- in_review
- applied
- rejected
- expired
description: '`in_review` until your person clicks Add to TeamYou (`applied`) or Not now (`rejected`); `expired` 7 days after it was submitted, unbuilt.'
playback:
type:
- string
- 'null'
items:
type: array
items:
$ref: '#/components/schemas/ProposalItem'
flags:
type: array
items:
$ref: '#/components/schemas/ProposalFlag'
decisions:
type: object
additionalProperties:
$ref: '#/components/schemas/ProposalDecision'
description: Keyed by ref.
result:
oneOf:
- $ref: '#/components/schemas/ProposalApplyResult'
- type: 'null'
description: Null until applied.
reviewUrl:
type: string
format: uri
description: The TeamYou page where your person reviews it. Give them this link.
expiresAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
appliedAt:
type:
- string
- 'null'
format: date-time
required:
- id
- kind
- status
- playback
- items
- flags
- decisions
- result
- reviewUrl
- expiresAt
- createdAt
- appliedAt
UpdateProposalRequest:
type: object
properties:
playback:
type:
- string
- 'null'
maxLength: 4000
items:
type: array
items:
$ref: '#/components/schemas/ProposalItem'
minItems: 1
maxItems: 100
description: 'Replaces every item, as on create. Keep each unchanged item''s ref: on the review page your person''s choices on unchanged items are kept, and new or changed items are marked.'
additionalProperties: false
description: At least one of `playback` and `items`.
ProposalResponse:
type: object
properties:
proposal:
$ref: '#/components/schemas/Proposal'
required:
- proposal
ProposalDecision:
type: object
properties:
action:
type: string
enum:
- include
- exclude
- use_existing
- keep_separate
targetId:
type: string
description: 'With `use_existing`: the existing row it points at.'
name:
type: string
description: 'With `keep_separate`: the new name, when your person gave one.'
required:
- action
description: 'Your person''s choice for one item. Before your person clicks Add to TeamYou these are the defaults: everything included, and a flagged item pointed at its best match.'
ProposalLink:
type: object
properties:
kind:
type: string
enum:
- link
ref:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
source:
type: string
enum:
- conversation
- agent_memory
fromRef:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
toRef:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
required:
- kind
- ref
- source
- fromRef
- toRef
additionalProperties: false
ProposalDetail:
type: object
properties:
kind:
type: string
enum:
- detail
ref:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
source:
type: string
enum:
- conversation
- agent_memory
topicRef:
type: string
pattern: ^[a-z0-9][a-z0-9-]{0,63}$
content:
type: string
minLength: 1
maxLength: 5000
required:
- kind
- ref
- source
- topicRef
- content
additionalProperties: false
responses:
AgentGate:
description: 'Forbidden. One of: api_key_user_not_found (key belongs to a user absent from this environment); client_identification_required (no recognized X-TeamYou-Client; carries skill_install_url, registerUrl, docs_url; only when TEAMYOU_GATE_REQUIRE_IDENTIFIED_CLIENT); agent_not_registered (registerUrl, skill_install_url, docs_url); skill_update_required (required_version, install_url, docs_url; possibly Deprecation/Sunset headers); client_update_nudge (a soft, relent-able staleness nudge for an agentic client below the latest release when TEAMYOU_GATE_NAG_ENABLED is on; carries verified_version, required_version, upgrade_url, ack_url, ack_token, nag_interval, nag_acks_so_far, docs_url — upgrade to end it, or fetch ack_url to relent one call at a rising cost); insufficient_scope (the API key lacks this operation’s x-teamyou-scope; carries required_scope, granted_scopes, docs_url — NOT retryable: scopes are fixed at key creation, so create a new key with the required scope instead of retrying); agent_retired (this key was revoked and its agent has been retired; carries agent {id, slug}, retiredAt, harness and remove {schedule, keyFile} — switch to a new key for this account if you were given one, otherwise stop checking in to this account; NOT retryable with this key); or an AI-preference denial AI_UPDATE_DISABLED / AI_DELETE_DISABLED / AI_SHARE_DISABLED (an account-wide block in Settings > Agent permissions is on; carries requiredPreference, blockedPreferences (every preference in the way; a sharing call can be blocked by two), fix (one line to relay to your person as-is: which switch or switches to turn off, and where) and settingsUrl (the link to those switches) - NOT retryable until the person turns the block off). Scopes and AI preferences compose as AND — passing one does not bypass the other. Gate codes only apply when the corresponding env flag is enabled.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
Conflict:
description: 'Conflict — e.g. duplicate edge (same direction + label) or the scheduled-action slot limit reached (code: conflict).'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
ValidationError:
description: 'Validation error — invalid body, query, or path param (code: validation_error or invalid_json). `details` carries Zod field errors; PATCH /edges also adds `formErrors`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
ServerError:
description: 'Internal server error (code: internal_error).'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
Unauthorized:
description: 'Missing, malformed, expired, or revoked API key (code: unauthorized). A revoked key whose agent has been retired answers 403 agent_retired instead.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
RateLimitUnavailable:
description: 'The limit check itself failed, so the request was not run (code: rate_limit_unavailable). The caller did not go over a limit. Includes Retry-After.'
headers:
Retry-After:
schema:
type: integer
description: Seconds until the client may retry.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
NotFound:
description: 'Resource not found (code: not_found).'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
RateLimited:
description: 'Rate limit exceeded (code: rate_limit_exceeded). Includes Retry-After and X-RateLimit-* headers.'
headers:
Retry-After:
schema:
type: integer
description: Seconds until the client may retry.
X-RateLimit-Limit:
schema:
type: integer
description: Max requests in the window.
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Seconds until the window resets.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
SecretRefused:
description: 'Unprocessable, and nothing was written. secret_refused: the body contains what looks like a password, a key or token, a national ID number (such as a Social Security number) or a payment card number, which TeamYou never keeps for any agent. Carries field (where it was, such as `description` or `tasks[1].title`; null for the whole body) and kind (`api_key`, `private_key`, `password`, `card_number` or `id_number`), never the value. Take the secret out and send the write again; you can say where it is kept instead. NOT retryable unchanged.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key: `Authorization: Bearer ty_<key>`.'