API & MCP
Build on VETR from your own applications, or connect an AI assistant directly to your proposal workspace.
https://vetrproposal.com/api/v1Getting started
- Make sure your organization is on Professional or Enterprise - API and MCP access is checked on every request.
- Create a token at
Settings → API Tokens, choosing the abilities you need. - 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.
| read | Every GET endpoint. Selected by default when you create a token. |
| write | POST, PUT and PATCH - and the MCP tools that send data to Google Drive or GovSlack. |
| delete | DELETE 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/mereadThe authenticated user and the organization the token acts for.
Returns: id, name, first_name, last_name, email, organization_id, role
Proposals
GET/api/v1/proposalsreadList proposals in your organization, newest first, paginated.
Query parameters
| status | string | optional | Filter by proposal status. |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of proposals.
POST/api/v1/proposalswriteCreate a proposal against an existing RFP.
Body
| rfp_id | uuid | required | Must belong to your organization. |
| title | string | required | Max 255 characters. |
| status | string | optional | Cannot be a gated stage - those move through the review workflow. |
| bid_amount | number | optional | |
| executive_summary | string | optional | The 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}readRetrieve one proposal.
Returns: A single proposal.
PUTPATCH/api/v1/proposals/{proposal}writeUpdate a proposal.
Body
| title | string | optional | |
| status | string | optional | Gated stages are rejected - use the review & submission workflow. |
| bid_amount | number | optional | |
| executive_summary | string | optional | The Executive Summary section only. Use the sections endpoints for the rest of the proposal. |
| proposal_manager_id | uuid | optional | Must be a user in your organization. |
Returns: The updated proposal.
DELETE/api/v1/proposals/{proposal}deleteSoft-delete a proposal.
Returns: 204 No Content.
Models
POST/api/v1/models/fedproc-1/generatereadGenerate 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
| messages | array | required | Up to 50 messages, each with a role of system, user or assistant and a content string. |
| max_tokens | integer | optional | Upper bound on generated tokens per step. Defaults to 512. |
| tools | boolean | optional | Default 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/analyzereadStart 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
| document | file | required | Multipart 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}readCheck 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}/sectionsreadThe 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_content | boolean | optional | Include 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}readOne 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}/sectionswriteAdd a section the solicitation does not list, such as Section 508 Conformance, optionally with its first draft.
Body
| title | string | required | Max 150 characters, plain text. |
| description | string | optional | A short brief for the section. Max 1,000 characters. |
| content | string | optional | HTML or Markdown. Sanitised on save. |
Returns: 201 with the new section.
PUT/api/v1/proposals/{proposal}/sections/{section}writeWrite 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
| content | string | optional | HTML or Markdown, up to 500,000 characters. Writing into an empty section makes it a Draft. |
| status | string | optional | draft, review or final. An empty section cannot be moved past draft. |
| title | string | optional | Rename the section. Max 150 characters. |
| base_updated_at | datetime | optional | The 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}deleteDelete 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}/exportreadDownload 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
| format | string | required | pdf or docx. |
| sections[] | string | optional | Section keys to include. Defaults to the whole proposal. |
| paper_size | string | optional | letter or a4. |
| font_family | string | optional | Times New Roman, Arial, Calibri, Georgia, Inter, Lato, IBM Plex Sans, Poppins or Fira Sans. |
| font_size | integer | optional | 10 to 14. |
| line_spacing | number | optional | 1, 1.15, 1.5 or 2. |
| color_theme | string | optional | navy, forest, burgundy or slate. |
| include_logo | boolean | optional | |
| proprietary_notice | boolean | optional |
Returns: The file as an attachment.
Solicitations
GET/api/v1/rfpsreadThe solicitations in your organization. A proposal's rfp_id refers to one of these.
Query parameters
| status | string | optional | |
| parse_status | string | optional | For example completed or failed. |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of solicitations.
GET/api/v1/rfps/{rfp}readOne 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}/requirementsreadThe requirements extracted from a solicitation: Section L instructions, Section M criteria and clauses, in solicitation order.
Query parameters
| type | string | optional | Filter by requirement type. |
| per_page | integer | optional | Default 50, maximum 200. |
Returns: A paginated list of requirements with section, title, text, type, far_clause and evaluation_weight.
Tasks
GET/api/v1/tasksreadList tasks in your organization.
Query parameters
| status | string | optional | |
| assigned_to | uuid | optional | |
| priority | string | optional | |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of tasks.
POST/api/v1/taskswriteCreate a task, optionally attached to a proposal or RFP.
Body
| title | string | required | |
| description | string | optional | |
| type | string | optional | |
| status | string | optional | |
| priority | string | optional | |
| due_date | date | optional | |
| assigned_to | uuid | optional | Must be a user in your organization. |
| context_type | string | optional | Required together with context_id. |
| context_id | uuid | optional | Required together with context_type; must belong to your organization. |
Returns: The created task.
GET/api/v1/tasks/{task}readRetrieve one task.
Returns: A single task.
PUTPATCH/api/v1/tasks/{task}writeUpdate a task.
Body
| title | string | optional | |
| description | string | optional | |
| status | string | optional | |
| priority | string | optional | |
| due_date | date | optional | |
| assigned_to | uuid | optional |
Returns: The updated task.
DELETE/api/v1/tasks/{task}deleteDelete a task.
Returns: 204 No Content.
PUT/api/v1/tasks/{task}/statuswriteMove a task to a new status without sending the whole record.
Body
| status | string | required |
Returns: The updated task.
Partners
GET/api/v1/partnersreadList teaming partners.
Query parameters
| status | string | optional | active, inactive, prospect or archived. |
| search | string | optional | Partial match on partner name. |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of partners.
POST/api/v1/partnerswriteAdd a teaming partner.
Body
| name | string | required | |
| status | string | optional | active, inactive, prospect or archived. |
| business_size | string | optional | |
| primary_contact_name | string | optional | |
| primary_contact_email | optional | ||
| naics_codes | array | optional | |
| core_competencies | array | optional | |
| cage_code | string | optional | Max 10 characters. |
| sam_uei | string | optional | Max 20 characters. |
Returns: The created partner.
GET/api/v1/partners/{partner}readRetrieve one partner.
Returns: A single partner.
PUTPATCH/api/v1/partners/{partner}writeUpdate a partner.
Body
| name | string | optional | |
| status | string | optional | |
| business_size | string | optional | |
| primary_contact_name | string | optional | |
| primary_contact_email | optional | ||
| naics_codes | array | optional | |
| core_competencies | array | optional |
Returns: The updated partner.
DELETE/api/v1/partners/{partner}deleteRemove a partner.
Returns: 204 No Content.
Past performance
GET/api/v1/past-performancesreadList past-performance records.
Query parameters
| status | string | optional | |
| agency | string | optional | Partial match on agency name. |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of past-performance records.
POST/api/v1/past-performanceswriteRecord a past-performance contract.
Body
| contract_number | string | required | Max 50 characters. |
| contract_title | string | required | |
| agency_name | string | required | |
| contract_type | string | optional | |
| start_date | date | optional | |
| end_date | date | optional | |
| contract_value | number | optional |
Returns: The created record.
GET/api/v1/past-performances/{past_performance}readRetrieve one past-performance record.
Returns: A single record.
PUTPATCH/api/v1/past-performances/{past_performance}writeUpdate a past-performance record.
Body
| contract_title | string | optional | |
| agency_name | string | optional | |
| contract_type | string | optional | |
| start_date | date | optional | |
| end_date | date | optional | |
| contract_value | number | optional |
Returns: The updated record.
DELETE/api/v1/past-performances/{past_performance}deleteRemove a past-performance record.
Returns: 204 No Content.
Compliance
GET/api/v1/compliance-itemsreadList compliance-matrix items.
Query parameters
| proposal_id | uuid | optional | |
| status | string | optional | |
| per_page | integer | optional | Default 15, maximum 100. |
Returns: A paginated collection of compliance items.
GET/api/v1/compliance-items/{complianceItem}readRetrieve one compliance item.
Returns: A single compliance item.
PUT/api/v1/compliance-items/{complianceItem}/statuswriteMove a compliance item to a new status.
Body
| status | string | required |
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-toolreadAnalyze 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-toolwriteCreate 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-toolreadDraft 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-toolwriteExport 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-toolreadGet 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-toolreadGet the compliance matrix status for a proposal. Shows which requirements are met, in progress, or missing. Includes compliance score percentage.
get-credit-balance-toolreadShow the prepaid credit balance of the developer workspace the key belongs to, in US dollars, and whether model calls are paused.
get-proposal-detail-toolreadGet full details of a specific proposal, identified by its ID: sections, compliance items, tasks, and past performance.
get-proposal-section-toolreadRead 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-toolreadRead the requirements extracted from a solicitation (instructions, evaluation criteria and clauses) in solicitation order. Takes the RFP ID.
get-usage-summary-toolreadSummarize this month's API usage for the workspace: number of calls, model spend in US dollars, and success rate.
get-vetr-score-toolreadGet 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-toolreadList 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-toolreadList the solicitations (RFPs) in your organization, newest first, with their ID, title, agency, NAICS code, set-aside and response deadline.
notify-gov-slack-toolwritePost 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-toolwriteSave 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-toolreadSearch 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-toolreadSearch 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-toolreadSearch 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-toolreadSearch 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-toolreadSearch 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-toolreadSearch 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-toolwriteWrite 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-resourceAn 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.