{"openapi":"3.1.1","info":{"title":"RFPSeek API","version":"1","description":"Search solicitations, get notice details, and manage alerts from code. Paid accounts share a limit of 1,000 requests per UTC day across API tokens and connected apps. [Contact support](https://rfpseek.com/support) for a higher limit. RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset report the account's budget and seconds until it resets."},"servers":[{"url":"/"}],"security":[{"apiToken":["read"]}],"tags":[{"name":"Opportunities"},{"name":"Alerts"},{"name":"Documentation"}],"paths":{"/api/v1/search":{"get":{"operationId":"searchSolicitations","tags":["Opportunities"],"summary":"Search using the same firm preferences and sorting as the website. Passed solicitations stay in the results.","security":[{"apiToken":["read"]}],"responses":{"200":{"description":"One page of search results.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPage"}}}},"400":{"description":"Invalid input.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"description":"Search took too long.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"The server could not complete the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"in":"query","name":"keyword","schema":{"type":"string"}},{"in":"query","name":"department","schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"set_aside","schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"naics","schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"type","schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"category","schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"psc","schema":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9]{1,4}$"}}},{"in":"query","name":"award_status","schema":{"type":"string","enum":["confirmed","unconfirmed"],"default":"unconfirmed"}},{"in":"query","name":"posted_years","schema":{"type":"integer","minimum":0,"maximum":999}},{"in":"query","name":"posted_months","schema":{"type":"integer","minimum":0,"maximum":11}},{"in":"query","name":"min_bid_days","schema":{"type":"integer","minimum":0}},{"in":"query","name":"max_bid_days","schema":{"type":"integer","minimum":0}},{"in":"query","name":"min_award","schema":{"type":"number","minimum":0}},{"in":"query","name":"max_award","schema":{"type":"number","minimum":0}},{"in":"query","name":"min_forecast","schema":{"type":"number","minimum":0}},{"in":"query","name":"max_forecast","schema":{"type":"number","minimum":0}},{"in":"query","name":"sort","schema":{"type":"string","enum":["posted","due","award","title","department","naics","set_aside","poc"]}},{"in":"query","name":"dir","schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"page","schema":{"type":"integer","minimum":1}},{"in":"query","name":"open","schema":{"type":"string","enum":["0","1"],"default":"1"},"description":"Use 0 to include notices with passed deadlines and notices SAM has archived or marked inactive."}]}},"/api/v1/notices/{id}":{"get":{"operationId":"getNotice","tags":["Opportunities"],"summary":"Read a notice and the available evidence.","security":[{"apiToken":["read"]}],"responses":{"200":{"description":"Notice details.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoticeDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"The requested resource was not found.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"description":"The server could not complete the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/v1/alerts":{"get":{"operationId":"listAlerts","tags":["Alerts"],"summary":"List the account's alerts.","security":[{"apiToken":["read"]}],"responses":{"200":{"description":"The account's alerts.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"description":"The server could not complete the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createAlert","tags":["Alerts"],"summary":"Create an alert or return the existing solicitation or profile alert.","description":"Requires a read and write token.","security":[{"apiToken":["write"]}],"responses":{"200":{"description":"The alert already exists.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResult"}}}},"201":{"description":"The alert was created.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertResult"}}}},"400":{"description":"Invalid input.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"The requested resource was not found.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The account already uses that alert name.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"The request must use application/json.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"description":"The server could not complete the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"description":"One JSON object of at most 16 KiB (16,384 bytes), counted over the whole serialized body. Property names are exact and case-sensitive; a larger body or an unlisted property returns 400 invalid_request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAlert"}}}}}},"/api/v1/alerts/{id}":{"delete":{"operationId":"deleteAlert","tags":["Alerts"],"summary":"Delete an alert owned by this account.","description":"Requires a read and write token.","security":[{"apiToken":["write"]}],"responses":{"204":{"description":"The alert was deleted.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"The requested resource was not found.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"description":"The server could not complete the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}]}},"/api/v1/openapi.json":{"get":{"operationId":"getOpenAPIDocument","tags":["Documentation"],"summary":"Read this API reference.","security":[],"responses":{"200":{"description":"The OpenAPI document.","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"securitySchemes":{"apiToken":{"type":"http","scheme":"bearer","bearerFormat":"rfpseek_ followed by 43 base64url characters","description":"Create a token on /settings/api. Read tokens can call GET operations. Read-write tokens can also create and delete alerts."}},"headers":{"RateLimit-Limit":{"description":"The account's daily request limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"How many requests the account can still make in this window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the effective UTC day ends.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying this request.","schema":{"type":"integer"}}},"responses":{"Unauthorized":{"description":"Missing or invalid bearer token.","headers":{"WWW-Authenticate":{"description":"Bearer authentication challenge, when applicable.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The token lacks write access or the account has no paid access.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"WWW-Authenticate":{"description":"Bearer authentication challenge, when applicable.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TooManyRequests":{"description":"Account quota or shared search admission limit reached. Search requests refused by the IP budget spend no account quota and have no RateLimit headers.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"SearchPage":{"type":"object","required":["query","profile_applied","page","page_count","total_solicitations","next","previous","solicitations"],"properties":{"query":{"type":"string"},"profile_applied":{"type":"boolean"},"page":{"type":"integer"},"page_count":{"type":"integer"},"total_solicitations":{"type":"integer"},"next":{"type":["string","null"],"format":"uri"},"previous":{"type":["string","null"],"format":"uri"},"solicitations":{"type":"array","items":{"$ref":"#/components/schemas/Solicitation"}}}},"Solicitation":{"type":"object","required":["notice_id","solicitation_number","title","type","department","posted_at","deadline","set_aside","naics","award","forecast","holder","event","excerpt","older_notices","url","api_url"],"properties":{"notice_id":{"type":"string"},"solicitation_number":{"type":["string","null"]},"title":{"type":"string"},"type":{"type":"string"},"department":{"type":["string","null"]},"posted_at":{"type":["string","null"],"format":"date-time"},"deadline":{"$ref":"#/components/schemas/Deadline"},"set_aside":{"anyOf":[{"$ref":"#/components/schemas/Eligibility"},{"type":"null"}]},"naics":{"anyOf":[{"$ref":"#/components/schemas/Eligibility"},{"type":"null"}]},"award":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"forecast":{"anyOf":[{"$ref":"#/components/schemas/Range"},{"type":"null"}]},"holder":{"anyOf":[{"$ref":"#/components/schemas/Holder"},{"type":"null"}]},"event":{"anyOf":[{"$ref":"#/components/schemas/NoticeEvent"},{"type":"null"}]},"excerpt":{"type":["string","null"]},"older_notices":{"type":"array","items":{"$ref":"#/components/schemas/NoticeBrief"}},"url":{"type":"string","format":"uri"},"api_url":{"type":"string","format":"uri"}}},"Deadline":{"type":"object","required":["at","text","passed","unclear","superseded","explanation","newer_notice_id","short_window","days_left"],"properties":{"at":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"},{"type":"null"}]},"text":{"type":["string","null"]},"passed":{"type":"boolean"},"unclear":{"type":"boolean"},"superseded":{"type":"boolean"},"explanation":{"type":["string","null"]},"newer_notice_id":{"type":["string","null"]},"short_window":{"type":["string","null"]},"days_left":{"description":"Calendar days from today in Eastern time until the due date the notice page shows. The value is null when that page shows no count, and 0 when the response is due later today.","type":["integer","null"]}}},"Eligibility":{"type":"object","required":["code","label","evidence","sentence"],"properties":{"code":{"type":["string","null"]},"label":{"type":"string"},"evidence":{"type":"string","enum":["match","conflict","open","unknown"]},"sentence":{"type":["string","null"]}},"description":"Evidence mirrors the website's eligibility chip and its sentence. A conflict can describe a saved preference or qualification evidence."},"Holder":{"type":"object","required":["name","uei","parent_uei","cage_code","latest_action","usaspending_award_url","usaspending_recipient_url","exclusions","sentences"],"properties":{"name":{"type":"string"},"uei":{"type":["string","null"]},"parent_uei":{"type":["string","null"]},"cage_code":{"type":["string","null"]},"latest_action":{"type":["string","null"],"enum":["new_award","new_order","option_exercise",null]},"usaspending_award_url":{"type":["string","null"],"format":"uri"},"usaspending_recipient_url":{"type":["string","null"],"format":"uri"},"exclusions":{"type":"array","items":{"$ref":"#/components/schemas/Exclusion"}},"sentences":{"type":"array","items":{"type":"string"}}}},"Exclusion":{"type":"object","required":["type","agency","termination","sentence"],"properties":{"type":{"type":["string","null"]},"agency":{"type":["string","null"]},"termination":{"type":["string","null"]},"sentence":{"type":"string"}}},"NoticeDetail":{"type":"object","required":["notice","opening_summary","status","deadline","profile_applied","firm_excluded","set_aside","naics","sam_award","holder","holder_sentences","history","forecast","summary"],"properties":{"notice":{"$ref":"#/components/schemas/NoticeFacts"},"opening_summary":{"type":"string","description":"A plain-language summary of the notice (the page's meta description): who posted what, the set-aside SAM.gov lists, whether the notice takes bids, and the response deadline. A part SAM.gov does not list is left out."},"status":{"type":"string"},"deadline":{"$ref":"#/components/schemas/Deadline"},"profile_applied":{"type":"boolean"},"firm_excluded":{"type":"boolean"},"set_aside":{"anyOf":[{"$ref":"#/components/schemas/Eligibility"},{"type":"null"}]},"naics":{"anyOf":[{"$ref":"#/components/schemas/Eligibility"},{"type":"null"}]},"sam_award":{"anyOf":[{"$ref":"#/components/schemas/SAMAward"},{"type":"null"}]},"holder":{"anyOf":[{"$ref":"#/components/schemas/Holder"},{"type":"null"}]},"holder_sentences":{"type":"array","items":{"type":"string"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/HistoryEntry"}},"forecast":{"anyOf":[{"$ref":"#/components/schemas/Forecast"},{"type":"null"}]},"summary":{"anyOf":[{"$ref":"#/components/schemas/Summary"},{"type":"null"}]}}},"NoticeFacts":{"type":"object","required":["id","solicitation_number","title","type","department","sub_tier","office","office_address","posted_at","archive_at","naics_title","psc","place_of_performance","description","contacts","sam_url","additional_info_url","event","url"],"properties":{"id":{"type":"string"},"solicitation_number":{"type":["string","null"]},"title":{"type":"string"},"type":{"type":"string"},"department":{"type":["string","null"]},"sub_tier":{"type":["string","null"]},"office":{"type":["string","null"]},"office_address":{"type":["string","null"]},"posted_at":{"type":["string","null"],"format":"date-time"},"archive_at":{"type":["string","null"],"format":"date"},"naics_title":{"type":["string","null"]},"psc":{"type":["string","null"]},"place_of_performance":{"type":["string","null"]},"description":{"type":["string","null"]},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}},"sam_url":{"type":["string","null"],"format":"uri"},"additional_info_url":{"type":["string","null"],"format":"uri"},"event":{"anyOf":[{"$ref":"#/components/schemas/NoticeEvent"},{"type":"null"}]},"url":{"type":"string","format":"uri"}}},"Contact":{"type":"object","required":["name","title","email","phone","fax"],"properties":{"name":{"type":["string","null"]},"title":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"fax":{"type":["string","null"]}}},"SAMAward":{"type":"object","required":["amount","text","number","awardee","awarded_at"],"properties":{"amount":{"type":["number","null"]},"text":{"type":["string","null"]},"number":{"type":["string","null"]},"awardee":{"type":["string","null"]},"awarded_at":{"type":["string","null"],"format":"date"}}},"HistoryEntry":{"type":"object","required":["notice_id","type","posted_at","change","current","api_url"],"properties":{"notice_id":{"type":"string"},"type":{"type":"string"},"posted_at":{"type":["string","null"],"format":"date-time"},"change":{"type":"string"},"current":{"type":"boolean"},"api_url":{"type":"string","format":"uri"}}},"Forecast":{"type":"object","required":["source","title","low","high","text","basis","basis_sentence","evidence","dates_sentence","withdrawn","url"],"properties":{"source":{"type":"string"},"title":{"type":"string"},"low":{"type":["number","null"]},"high":{"type":["number","null"]},"text":{"type":"string"},"basis":{"type":"string"},"basis_sentence":{"type":"string"},"evidence":{"type":"string"},"dates_sentence":{"type":"string"},"withdrawn":{"type":"boolean"},"url":{"type":"string","format":"uri"}}},"Summary":{"type":"object","required":["text","credentials","examples_only","sentence"],"properties":{"text":{"type":"string"},"credentials":{"type":"array","items":{"$ref":"#/components/schemas/Credential"}},"examples_only":{"type":"boolean"},"sentence":{"type":"string"}}},"Credential":{"type":"object","required":["name","holder"],"properties":{"name":{"type":"string"},"holder":{"type":["string","null"]}}},"Money":{"type":"object","required":["amount","text"],"properties":{"amount":{"type":"number"},"text":{"type":"string"}}},"Range":{"type":"object","required":["low","high","text"],"properties":{"low":{"type":["number","null"]},"high":{"type":["number","null"]},"text":{"type":"string"}}},"NoticeBrief":{"type":"object","required":["notice_id","type","posted_at","api_url"],"properties":{"notice_id":{"type":"string"},"type":{"type":"string"},"posted_at":{"type":["string","null"],"format":"date-time"},"api_url":{"type":"string","format":"uri"}}},"AlertList":{"type":"object","required":["alerts"],"properties":{"alerts":{"type":"array","items":{"$ref":"#/components/schemas/Alert"}}}},"Alert":{"type":"object","required":["id","kind","name","frequency","schedule_sentence","created_at","last_sent_at","solicitation","search","profile","url"],"properties":{"id":{"type":"integer"},"kind":{"type":"string","enum":["solicitation","search","profile"]},"name":{"type":"string"},"frequency":{"type":"string","enum":["off","daily","weekly","monthly"]},"schedule_sentence":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"last_sent_at":{"type":["string","null"],"format":"date-time"},"solicitation":{"anyOf":[{"$ref":"#/components/schemas/AlertSolicitation"},{"type":"null"}]},"search":{"anyOf":[{"$ref":"#/components/schemas/AlertSearch"},{"type":"null"}]},"profile":{"anyOf":[{"$ref":"#/components/schemas/AlertProfile"},{"type":"null"}]},"url":{"type":"string","format":"uri"}}},"AlertProfile":{"type":"object","required":["include_industry_days"],"properties":{"include_industry_days":{"type":"boolean","description":"Whether the alert also sends Special Notices that announce an industry day."}}},"NoticeEvent":{"type":"object","description":"The event RFPSeek read from the title and description of a Special Notice or Presolicitation. SAM has no field for it.","required":["kind","label","explanation"],"properties":{"kind":{"type":"string","enum":["industry_day","pre_proposal_conference","draft_rfp","other"],"description":"other is a Special Notice whose text names none of the other events."},"label":{"type":"string"},"explanation":{"type":["string","null"],"description":"The words that named the event and why it matters. Notice details only; null in search results and for other."}}},"AlertSolicitation":{"type":"object","required":["solicitation_number","notice_id","title","deadline"],"properties":{"solicitation_number":{"type":"string"},"notice_id":{"type":["string","null"]},"title":{"type":["string","null"]},"deadline":{"$ref":"#/components/schemas/Deadline"}}},"AlertSearch":{"type":"object","required":["query","summary","url"],"properties":{"query":{"type":"string"},"summary":{"type":"array","items":{"type":"string"}},"url":{"type":"string","format":"uri"}}},"AlertResult":{"type":"object","required":["created","alert"],"properties":{"created":{"type":"boolean"},"alert":{"$ref":"#/components/schemas/Alert"}}},"CreateSolicitationAlert":{"type":"object","required":["kind","notice_id"],"properties":{"kind":{"type":"string","const":"solicitation"},"notice_id":{"type":"string","minLength":1,"pattern":"\\S","description":"The notice to follow. A blank or whitespace-only value returns 400 invalid_request."}},"additionalProperties":false},"CreateSearchAlert":{"type":"object","required":["kind","name","query"],"properties":{"kind":{"type":"string","const":"search"},"name":{"type":"string","minLength":1,"maxLength":100},"query":{"type":"string","description":"Use a SearchPage query or encode filters for /api/v1/search. Include a keyword or a narrowing filter."}},"additionalProperties":false},"CreateProfileAlert":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","const":"profile"},"include_industry_days":{"type":["boolean","null"],"description":"Also send Special Notices that announce an industry day. On an existing profile alert, this changes the setting; omit it or send null to leave the setting unchanged. A new alert defaults to false."}},"additionalProperties":false},"CreateAlert":{"oneOf":[{"$ref":"#/components/schemas/CreateSolicitationAlert"},{"$ref":"#/components/schemas/CreateSearchAlert"},{"$ref":"#/components/schemas/CreateProfileAlert"}],"discriminator":{"propertyName":"kind","mapping":{"solicitation":"#/components/schemas/CreateSolicitationAlert","search":"#/components/schemas/CreateSearchAlert","profile":"#/components/schemas/CreateProfileAlert"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","subscription_required","quota_exceeded","search_rate_limited","search_busy","search_timeout","invalid_request","not_found","conflict","unsupported_media_type","internal"]},"message":{"type":"string"},"link":{"type":"string","format":"uri"}}}}}}}}
