Skip to main content

Use VETR inChatGPT!

Skip to main content
Developers

API & MCP

Build on VETR from your own applications, or connect an AI assistant directly to your proposal workspace.

Base URL:https://vetrproposal.com/api/v1

Getting started

  1. Make sure your organization is on Professional or Enterprise - API and MCP access is checked on every request.
  2. Create a token at Settings → API Tokens, choosing the abilities you need.
  3. Send it as a bearer token on every request.
curl -s "https://vetrproposal.com/api/v1/proposals?status=draft&per_page=10" \
  -H "Authorization: Bearer $VETR_TOKEN" \
  -H "Accept: application/json"

Authentication

Scoped bearer token. Create a token at Settings → API Tokens and send it on every request:

Authorization: Bearer YOUR_TOKEN

Token abilities

A new token is created with read selected by default. If you intend to create or change data, tick write when you create the token - a read-only token returns 403 on every write.

readEvery GET endpoint. Selected by default when you create a token.
writePOST, PUT and PATCH - and the MCP tools that send data to Google Drive or GovSlack.
deleteDELETE endpoints.

What every request must satisfy

  • A valid bearer token that has not been revoked.
  • Your user account is active.
  • Your email address is verified.
  • Your organization is not suspended or cancelled.
  • Your organization is on the Professional or Enterprise plan, or is a developer workspace. API and MCP access is checked on every request, not only when the token is created. Developer workspaces pay with prepaid credits.
  • For writes, your role must be able to contribute (viewers are read-only) and the token must carry the matching ability.

Rate limit

60 requests per minute, counted per user across all of that user's tokens. The same limit applies on every plan.

Token lifetime

API keys you create do not expire on a timer. They are revoked when you delete them, and automatically when the organization's subscription ends. Access tokens that an app obtains by signing in with OAuth are different: they expire after one hour and are renewed automatically while the connection stays active.

Versioning

The version is in the path (/api/v1). Additive changes - new fields, new endpoints - ship without a version bump; anything that would break an existing client ships as /api/v2 and v1 keeps running.

Endpoints

37 endpoints. Every list endpoint is paginated and scoped to your organization.

Account

GET/api/v1/meread

The authenticated user and the organization the token acts for.

Returns: id, name, first_name, last_name, email, organization_id, role

Proposals

GET/api/v1/proposalsread

List proposals in your organization, newest first, paginated.

Query parameters

statusstringoptionalFilter by proposal status.
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of proposals.

POST/api/v1/proposalswrite

Create a proposal against an existing RFP.

Body

rfp_iduuidrequiredMust belong to your organization.
titlestringrequiredMax 255 characters.
statusstringoptionalCannot be a gated stage - those move through the review workflow.
bid_amountnumberoptional
executive_summarystringoptionalThe Executive Summary section only. Every other section is read and written with the sections endpoints.

Returns: The created proposal. Its full outline (every section) is at /api/v1/proposals/{proposal}/sections.

GET/api/v1/proposals/{proposal}read

Retrieve one proposal.

Returns: A single proposal.

PUTPATCH/api/v1/proposals/{proposal}write

Update a proposal.

Body

titlestringoptional
statusstringoptionalGated stages are rejected - use the review & submission workflow.
bid_amountnumberoptional
executive_summarystringoptionalThe Executive Summary section only. Use the sections endpoints for the rest of the proposal.
proposal_manager_iduuidoptionalMust be a user in your organization.

Returns: The updated proposal.

DELETE/api/v1/proposals/{proposal}delete

Soft-delete a proposal.

Returns: 204 No Content.

Models

POST/api/v1/models/fedproc-1/generateread

Generate text with FedProc-1, which follows the VETR writing standard and can look up live federal data. Billed from your prepaid credit balance: input and output tokens priced separately, plus a small fee per live-data lookup. The most a call can cost is reserved before it runs and is never exceeded; the unused part is refunded.

Body

messagesarrayrequiredUp to 50 messages, each with a role of system, user or assistant and a content string.
max_tokensintegeroptionalUpper bound on generated tokens per step. Defaults to 512.
toolsbooleanoptionalDefault true. When on, FedProc-1 may look up live federal opportunities, grants, awards and forecasts (up to 3 lookups) before answering. Tokens across all steps are billed.

Returns: output, usage (input_tokens, output_tokens), tool_calls (the lookups it made), cost_micros and balance_micros. Returns 402 when the balance cannot cover the call, and nothing is charged for a failed call.

POST/api/v1/models/fedproc-2/analyzeread

Start a full RFP analysis with FedProc-2: solicitation details, requirements, evaluation criteria and FAR/DFARS clauses. Runs asynchronously; billed per page with a minimum per document, and the price is held from the file size when you start the run, then settled to the counted pages before any analysis runs. The final price is never higher than the price held when you start the run: when the counted pages cost less, the difference is refunded. Runs on any credit, starter credit included.

Body

documentfilerequiredMultipart upload: PDF, DOCX, DOC or TXT, up to 50 MB and 400 pages (plain text up to 2 MB, DOC up to 25 MB). The file type is checked against its actual content, not just its name. Pages are billed at the larger of the page count and the amount of text (3,000 characters per page).

Returns: 202 with id, status, poll_url, and an estimated pages and cost_micros held from the file size. The pages are counted when the run starts and any difference is refunded before any analysis runs (the final price is never above the held price); the final cost_micros is on the run. A document with more pages than its size suggested is analysed in full up to four times the held pages; past that the analysis stops and its warnings say so. Returns 422 for a file that is not a real PDF, DOCX, DOC or TXT or is over its size limit (document_too_large_for_type), 402 when the balance cannot cover the call (nothing is charged), and 429 when too many analyses are already running or the daily limits are reached (daily_limit_reached, too_many_failed_documents, too_many_failed_runs). A run that fails, including a document over 400 pages, is refunded in full.

GET/api/v1/models/runs/{run}read

Check an analysis started with FedProc-2. Only the workspace that started it can read it.

Returns: status (queued, running, succeeded or failed) and, once succeeded, result (solicitation, evaluation_criteria, requirements, clauses, warnings). Results are kept for 7 days; the uploaded file is deleted as soon as the analysis ends.

Proposal sections

GET/api/v1/proposals/{proposal}/sectionsread

The full outline of a proposal: the core sections (Executive Summary, Technical Approach and the rest), the sections the solicitation asks for, and any you added. The outline is created on first request, so a proposal made over the API has one.

Query parameters

include_contentbooleanoptionalInclude each section's prose. Off by default to keep the list small.

Returns: Every section with key, title, section_number, order, status (not_started, draft, review, final), is_core, source, word_limit, page_limit and word_count.

GET/api/v1/proposals/{proposal}/sections/{section}read

One section, including its prose as sanitised HTML. The {section} is the key from the list.

Returns: A single section with its content.

POST/api/v1/proposals/{proposal}/sectionswrite

Add a section the solicitation does not list, such as Section 508 Conformance, optionally with its first draft.

Body

titlestringrequiredMax 150 characters, plain text.
descriptionstringoptionalA short brief for the section. Max 1,000 characters.
contentstringoptionalHTML or Markdown. Sanitised on save.

Returns: 201 with the new section.

PUT/api/v1/proposals/{proposal}/sections/{section}write

Write a section's content, move it along Draft, Review and Final, or rename it. Send only what changes. Content is sanitised on save and saved exactly as the dashboard editor saves it.

Body

contentstringoptionalHTML or Markdown, up to 500,000 characters. Writing into an empty section makes it a Draft.
statusstringoptionaldraft, review or final. An empty section cannot be moved past draft.
titlestringoptionalRename the section. Max 150 characters.
base_updated_atdatetimeoptionalThe proposal's updated_at you last read. If someone changed the section since, the save is refused with 409 and nothing is overwritten.

Returns: The updated section. 409 conflict (with the server's copy), 422 empty_section when moving an empty section past draft.

DELETE/api/v1/proposals/{proposal}/sections/{section}delete

Delete a section you added. Core sections and sections that come from the solicitation cannot be deleted; rename them or leave them empty.

Returns: 204 No Content, or 422 section_not_deletable.

GET/api/v1/proposals/{proposal}/exportread

Download the proposal as a PDF or a Word file, built by the same engine as the dashboard's Export menu. Limited to 20 exports a minute.

Query parameters

formatstringrequiredpdf or docx.
sections[]stringoptionalSection keys to include. Defaults to the whole proposal.
paper_sizestringoptionalletter or a4.
font_familystringoptionalTimes New Roman, Arial, Calibri, Georgia, Inter, Lato, IBM Plex Sans, Poppins or Fira Sans.
font_sizeintegeroptional10 to 14.
line_spacingnumberoptional1, 1.15, 1.5 or 2.
color_themestringoptionalnavy, forest, burgundy or slate.
include_logobooleanoptional
proprietary_noticebooleanoptional

Returns: The file as an attachment.

Solicitations

GET/api/v1/rfpsread

The solicitations in your organization. A proposal's rfp_id refers to one of these.

Query parameters

statusstringoptional
parse_statusstringoptionalFor example completed or failed.
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of solicitations.

GET/api/v1/rfps/{rfp}read

One solicitation with its extracted details: number, agency, NAICS, set-aside, contract type, value, deadlines and evaluation criteria.

Returns: A single solicitation.

GET/api/v1/rfps/{rfp}/requirementsread

The requirements extracted from a solicitation: Section L instructions, Section M criteria and clauses, in solicitation order.

Query parameters

typestringoptionalFilter by requirement type.
per_pageintegeroptionalDefault 50, maximum 200.

Returns: A paginated list of requirements with section, title, text, type, far_clause and evaluation_weight.

Tasks

GET/api/v1/tasksread

List tasks in your organization.

Query parameters

statusstringoptional
assigned_touuidoptional
prioritystringoptional
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of tasks.

POST/api/v1/taskswrite

Create a task, optionally attached to a proposal or RFP.

Body

titlestringrequired
descriptionstringoptional
typestringoptional
statusstringoptional
prioritystringoptional
due_datedateoptional
assigned_touuidoptionalMust be a user in your organization.
context_typestringoptionalRequired together with context_id.
context_iduuidoptionalRequired together with context_type; must belong to your organization.

Returns: The created task.

GET/api/v1/tasks/{task}read

Retrieve one task.

Returns: A single task.

PUTPATCH/api/v1/tasks/{task}write

Update a task.

Body

titlestringoptional
descriptionstringoptional
statusstringoptional
prioritystringoptional
due_datedateoptional
assigned_touuidoptional

Returns: The updated task.

DELETE/api/v1/tasks/{task}delete

Delete a task.

Returns: 204 No Content.

PUT/api/v1/tasks/{task}/statuswrite

Move a task to a new status without sending the whole record.

Body

statusstringrequired

Returns: The updated task.

Partners

GET/api/v1/partnersread

List teaming partners.

Query parameters

statusstringoptionalactive, inactive, prospect or archived.
searchstringoptionalPartial match on partner name.
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of partners.

POST/api/v1/partnerswrite

Add a teaming partner.

Body

namestringrequired
statusstringoptionalactive, inactive, prospect or archived.
business_sizestringoptional
primary_contact_namestringoptional
primary_contact_emailemailoptional
naics_codesarrayoptional
core_competenciesarrayoptional
cage_codestringoptionalMax 10 characters.
sam_ueistringoptionalMax 20 characters.

Returns: The created partner.

GET/api/v1/partners/{partner}read

Retrieve one partner.

Returns: A single partner.

PUTPATCH/api/v1/partners/{partner}write

Update a partner.

Body

namestringoptional
statusstringoptional
business_sizestringoptional
primary_contact_namestringoptional
primary_contact_emailemailoptional
naics_codesarrayoptional
core_competenciesarrayoptional

Returns: The updated partner.

DELETE/api/v1/partners/{partner}delete

Remove a partner.

Returns: 204 No Content.

Past performance

GET/api/v1/past-performancesread

List past-performance records.

Query parameters

statusstringoptional
agencystringoptionalPartial match on agency name.
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of past-performance records.

POST/api/v1/past-performanceswrite

Record a past-performance contract.

Body

contract_numberstringrequiredMax 50 characters.
contract_titlestringrequired
agency_namestringrequired
contract_typestringoptional
start_datedateoptional
end_datedateoptional
contract_valuenumberoptional

Returns: The created record.

GET/api/v1/past-performances/{past_performance}read

Retrieve one past-performance record.

Returns: A single record.

PUTPATCH/api/v1/past-performances/{past_performance}write

Update a past-performance record.

Body

contract_titlestringoptional
agency_namestringoptional
contract_typestringoptional
start_datedateoptional
end_datedateoptional
contract_valuenumberoptional

Returns: The updated record.

DELETE/api/v1/past-performances/{past_performance}delete

Remove a past-performance record.

Returns: 204 No Content.

Compliance

GET/api/v1/compliance-itemsread

List compliance-matrix items.

Query parameters

proposal_iduuidoptional
statusstringoptional
per_pageintegeroptionalDefault 15, maximum 100.

Returns: A paginated collection of compliance items.

GET/api/v1/compliance-items/{complianceItem}read

Retrieve one compliance item.

Returns: A single compliance item.

PUT/api/v1/compliance-items/{complianceItem}/statuswrite

Move a compliance item to a new status.

Body

statusstringrequired

Returns: The updated compliance item.

Errors

200OK
  • The request succeeded.
201Created
  • A POST created the record.
204No Content
  • A DELETE succeeded. There is no response body.
401Unauthenticated
  • No Authorization header was sent.
  • The token was revoked, or the organization's subscription ended and its tokens were revoked with it.
402Payment Required
  • Model endpoints only: your credit balance cannot cover the call (`insufficient_credits`). Nothing is charged. Add funds in Billing and retry.
  • Model endpoints only: model calls are paused because a refund or chargeback exceeded your credit (`account_frozen`). A top-up clears the balance owed.
403Forbidden
  • The token lacks the ability the endpoint needs - a default token is read-only.
  • The organization's plan does not include API access (Professional and Enterprise only).
  • The organization is suspended or cancelled.
  • The email address on the account is not verified.
  • The user's role is read-only and the request was a write.
404Not Found
  • No such record - or the record belongs to another organization. The API does not distinguish the two, deliberately.
422Unprocessable Content
  • Validation failed. The response body carries an `errors` object keyed by field name.
429Too Many Requests
  • The 60-per-minute rate limit was exceeded. Retry after the window resets.
  • Developer workspaces on a legacy monthly call quota: the quota was exceeded. The response body carries `error: "monthly_api_limit_exceeded"`, `limit`, `resets_at`, and `upgrade_url`.

MCP server

Connect an MCP-capable AI assistant straight to your VETR workspace. It can search your proposals, read compliance status, check a VETR score and find teaming partners - without you pasting anything into a chat window.

https://vetrproposal.com/mcp/vetr

Authorization: Bearer YOUR_TOKEN

Transport

Streamable HTTP (JSON-RPC over POST). Point any MCP-capable client at the URL above.

Authentication

Two ways. OAuth 2.1 sign-in (authorization code with PKCE, dynamic client registration), which Claude, ChatGPT and other clients that support it discover automatically from the server: the person signs in, chooses the workspace to connect and approves read or read and write access. Or a scoped bearer token, the same as the REST API: send `Authorization: Bearer YOUR_TOKEN`; create one at /dashboard/settings/api-tokens. An OAuth connection can be ended at any time under Connected apps, in Settings on the API Tokens page or in the developer console.

Plans

Professional, Enterprise, and developer workspaces. Access is checked on every request, not only when the token is created. Developer workspaces start with read-only keys; adding funds unlocks write and delete scopes.

Token abilities

A default token is read-only, which covers the read tools. The tools that change data - updating a proposal section and creating a proposal - and the tools that send data outside VETR - Google Drive export and GovSlack notification - require a token with the `write` ability. With OAuth, the app asks for read or for read and write and the person approves or declines what it asks for.

Data isolation

Every tool runs inside the workspace the token was issued for, with the same tenant scoping as the dashboard and the REST API. Connected apps and keys made in the developer console are bound to that workspace and keep acting in it whichever workspace you are viewing, and they cannot reach any other; a key made under Settings follows the workspace you are working in.

Tools

analyze-solicitation-toolread

Analyze a federal solicitation with FedProc-2: its requirements, evaluation criteria, clauses and key facts. Takes a SAM.gov notice ID (or the solicitation number), finds the notice's solicitation document on SAM.gov and starts the analysis, which runs for a few minutes; the result is read later by the run_id returned. Optionally names one of the notice's files to analyze instead. Uses credit from the account. Saves nothing to the workspace.

create-proposal-toolwrite

Create a new draft proposal against one of your solicitations. Takes the RFP ID and a title, or a notice ID from search-opportunities (the notice is saved first). Counts toward the number of proposals the workspace can hold. Needs a token with write access and permission to create proposals.

draft-federal-contracting-text-toolread

Draft or rewrite federal contracting text, such as a proposal section, a capability statement or an answer to an RFP question, with VETR's FedProc-1 model. It follows the VETR writing standard and can look up live opportunities, grants and awards. Spends credits from the prepaid balance of the workspace (input and output tokens).

export-proposal-to-drive-toolwrite

Export a proposal to the organization's connected Google Workspace (Assured Controls) Drive. Only works when an admin has enabled the integration (Professional or Enterprise plan, consent, and Assured Controls attestation); otherwise it reports the integration is unavailable and nothing leaves the platform.

get-analysis-toolread

Get the result of a solicitation analysis by its run_id: the solicitation's key facts, evaluation criteria, clauses and requirements, or that it is still running. Requirements come 50 at a time; offset reads the next ones.

get-compliance-status-toolread

Get the compliance matrix status for a proposal. Shows which requirements are met, in progress, or missing. Includes compliance score percentage.

get-credit-balance-toolread

Show the prepaid credit balance of the developer workspace the key belongs to, in US dollars, and whether model calls are paused.

get-proposal-detail-toolread

Get full details of a specific proposal, identified by its ID: sections, compliance items, tasks, and past performance.

get-proposal-section-toolread

Read one section of a proposal, including its text (sanitised HTML). Takes the proposal ID and the section key, for example executive_summary or technical_approach.

get-rfp-requirements-toolread

Read the requirements extracted from a solicitation (instructions, evaluation criteria and clauses) in solicitation order. Takes the RFP ID.

get-usage-summary-toolread

Summarize this month's API usage for the workspace: number of calls, model spend in US dollars, and success rate.

get-vetr-score-toolread

Get the VETR (Value, Experience, Teaming, Responsiveness) score breakdown for a proposal. The VETR framework is VETR's proprietary methodology for assessing proposal win probability.

list-proposal-sections-toolread

List the outline of a proposal: every section with its key, title, status, whether it is a core section, and its word count. Takes the proposal ID.

list-rfps-toolread

List the solicitations (RFPs) in your organization, newest first, with their ID, title, agency, NAICS code, set-aside and response deadline.

notify-gov-slack-toolwrite

Post a proposal status update to the organization's connected GovSlack channel. Sends only the proposal title and status — never proposal content. Only works when an admin has connected GovSlack and consented; otherwise it reports the integration is unavailable.

save-opportunity-toolwrite

Save a federal opportunity to the workspace as a solicitation, so a proposal can be started against it. Takes the notice ID from search-opportunities, or the solicitation number. VETR then fetches and reads the solicitation documents in the background. Saving the same notice again returns the solicitation already saved. Needs a token with write access and permission to manage solicitations.

search-awards-toolread

Search past federal contract awards by NAICS code and/or awarding agency (at least one is required). Useful for competitor and pricing research. On a developer workspace each lookup uses credit from its balance.

search-forecasts-toolread

Search agency procurement forecasts to see upcoming work before it is posted. Filter by NAICS code, agency or set-aside. On a developer workspace each lookup uses credit from its balance.

search-grants-toolread

Search federal grant opportunities on Grants.gov by keyword or agency. Live data. On a developer workspace each lookup uses credit from its balance.

search-opportunities-toolread

Search open federal contract opportunities from the VETR data index, those with a response deadline first, then newest. Filter by keyword, NAICS code, set-aside or agency. Public data, not your own proposals. On a developer workspace each lookup uses credit from its balance.

search-partners-toolread

Search for teaming partners in your partner database. Filter by capabilities, certifications, or name. Shows NAICS codes, set-aside eligibility, and past performance ratings.

search-proposals-toolread

Search and filter proposals by status, title, or agency. Returns a list of proposals with key metrics including VETR scores, submission deadlines, and win probability.

update-proposal-section-toolwrite

Write the text of a proposal section, and optionally move it to draft, review or final. Replaces the section content with what you send. Takes the proposal ID, the section key and the new content. Needs a token with write access and permission to edit the proposal.

Resources

file://resources/proposal-document-resource

An index of your proposals - id, title, status, agency and deadline. Read one in full with the get-proposal-detail tool.

Webhooks

VETR delivers HMAC-signed webhook payloads for the events your organization subscribes to, so you can react to proposal and compliance changes without polling. Configure endpoints from your organization settings; each delivery carries a signature header you should verify before trusting the body.