{"openapi":"3.1.0","info":{"title":"IUCN Red List (BYOK) API","version":"0.1.0","description":"IUCN Red List (BYOK) lets an AI assistant read your own IUCN Red List data through the IUCN Red List API with a key you supply (IUCN Red List API token). Read-only: 9 tools (get_species_assessments, get_taxon_by_sis_id, get_assessment, list_assessments_by_taxonomic_rank, list_assessments_by_category_code, list_reference_codes, list_possibly_extinct_assessments,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-iucn-redlist.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-iucn-redlist/docs"},"termsOfService":"https://connectorbay.com/byok-iucn-redlist/terms"},"servers":[{"url":"https://byok-iucn-redlist.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-iucn-redlist/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_species_assessments":{"post":{"operationId":"get_species_assessments","summary":"Find a species by scientific name and list its Red List assessments (category code, year, scope, whether latest) with it","description":"Find a species by scientific name and list its Red List assessments (category code, year, scope, whether latest) with its taxonomy. Use for \"What is the IUCN Red List status of Gorilla gorilla\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"genus_name":{"description":"Genus, for example Gorilla.","maxLength":80,"title":"Genus Name","type":"string"},"species_name":{"description":"Species epithet, for example gorilla.","maxLength":80,"title":"Species Name","type":"string"},"infra_name":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Optional subspecies or variety name.","title":"Infra Name"},"subpopulation_name":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Optional subpopulation name.","title":"Subpopulation Name"}},"required":["genus_name","species_name"],"title":"get_species_assessmentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_taxon_by_sis_id":{"post":{"operationId":"get_taxon_by_sis_id","summary":"Get a taxon and its Red List assessments by its SIS taxon id. Use for \"Show the Red List assessments of taxon 22694927\".","description":"Get a taxon and its Red List assessments by its SIS taxon id. Use for \"Show the Red List assessments of taxon 22694927\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sis_id":{"description":"SIS taxon id, for example 22694927.","maxLength":12,"title":"Sis Id","type":"string"}},"required":["sis_id"],"title":"get_taxon_by_sis_idArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_assessment":{"post":{"operationId":"get_assessment","summary":"Get the headline of one assessment by assessment id: taxonomy, Red List category, systems and habitats. Use for \"Give me","description":"Get the headline of one assessment by assessment id: taxonomy, Red List category, systems and habitats. Use for \"Give me the Red List details of assessment 166290968\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"assessment_id":{"description":"Assessment id, for example 166290968.","maxLength":12,"title":"Assessment Id","type":"string"}},"required":["assessment_id"],"title":"get_assessmentArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_assessments_by_taxonomic_rank":{"post":{"operationId":"list_assessments_by_taxonomic_rank","summary":"List assessments for every species in a kingdom, phylum, class, order or family, such as all assessments in one family. ","description":"List assessments for every species in a kingdom, phylum, class, order or family, such as all assessments in one family. Use for \"List the Red List assessments of the family Hominidae\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"rank":{"description":"Taxonomic rank: kingdom, phylum, class, order or family.","enum":["kingdom","phylum","class","order","family"],"title":"Rank","type":"string"},"name":{"description":"Name of the group in upper case as the Red List writes it, for example HOMINIDAE.","maxLength":80,"title":"Name","type":"string"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1 (up to 100 assessments per page).","title":"Page"},"latest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only the latest assessment of each taxon.","title":"Latest"},"year_published":{"anyOf":[{"maximum":2100,"minimum":1950,"type":"integer"},{"type":"null"}],"default":null,"description":"Only assessments published in this year.","title":"Year Published"},"scope_code":{"anyOf":[{"maximum":1000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only assessments of this scope code (1 is Global, 2 is Europe); see the reference code list for scopes.","title":"Scope Code"}},"required":["rank","name"],"title":"list_assessments_by_taxonomic_rankArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_assessments_by_category_code":{"post":{"operationId":"list_assessments_by_category_code","summary":"List assessments that share a country, habitat, threat, realm, scope, FAO region, growth form, Red List category or comp","description":"List assessments that share a country, habitat, threat, realm, scope, FAO region, growth form, Red List category or comprehensive group, by its code. Use for \"Which species are assessed as Critically Endangered (CR)\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"group":{"description":"What to filter by: countries, biogeographical_realms, scopes, faos, habitats, systems, threats, stresses, use_and_trade, growth_forms, red_list_categories or comprehensive_groups.","enum":["countries","biogeographical_realms","scopes","faos","habitats","systems","threats","stresses","use_and_trade","growth_forms","red_list_categories","comprehensive_groups"],"title":"Group","type":"string"},"code":{"description":"Code within the group, for example CR for red_list_categories, MG for countries or 1 for habitats.","maxLength":40,"title":"Code","type":"string"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1 (up to 100 assessments per page).","title":"Page"},"latest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only the latest assessment of each taxon.","title":"Latest"},"year_published":{"anyOf":[{"maximum":2100,"minimum":1950,"type":"integer"},{"type":"null"}],"default":null,"description":"Only assessments published in this year.","title":"Year Published"},"scope_code":{"anyOf":[{"maximum":1000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only assessments of this scope code (1 is Global, 2 is Europe); see the reference code list for scopes.","title":"Scope Code"}},"required":["group","code"],"title":"list_assessments_by_category_codeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reference_codes":{"post":{"operationId":"list_reference_codes","summary":"List the codes and names available in one reference list: countries, realms, scopes, FAO regions, habitats, systems, thr","description":"List the codes and names available in one reference list: countries, realms, scopes, FAO regions, habitats, systems, threats, stresses, use and trade, growth forms, Red List categories or comprehensive groups. Use for \"Which country codes does the Red List use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"group":{"description":"Reference list to read.","enum":["countries","biogeographical_realms","scopes","faos","habitats","systems","threats","stresses","use_and_trade","growth_forms","red_list_categories","comprehensive_groups"],"title":"Group","type":"string"}},"required":["group"],"title":"list_reference_codesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_possibly_extinct_assessments":{"post":{"operationId":"list_possibly_extinct_assessments","summary":"List assessments of taxa tagged as possibly extinct. Use for \"Which taxa are flagged as possibly extinct\".","description":"List assessments of taxa tagged as possibly extinct. Use for \"Which taxa are flagged as possibly extinct\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1 (up to 100 assessments per page).","title":"Page"}},"title":"list_possibly_extinct_assessmentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_possibly_extinct_in_wild_assessments":{"post":{"operationId":"list_possibly_extinct_in_wild_assessments","summary":"List assessments of taxa tagged as possibly extinct in the wild. Use for \"Which taxa are flagged as possibly extinct in ","description":"List assessments of taxa tagged as possibly extinct in the wild. Use for \"Which taxa are flagged as possibly extinct in the wild\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1 (up to 100 assessments per page).","title":"Page"}},"title":"list_possibly_extinct_in_wild_assessmentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_species_count_statistics":{"post":{"operationId":"get_species_count_statistics","summary":"Get the number of species counted in the Red List. Use for \"How many species are on the IUCN Red List\".","description":"Get the number of species counted in the Red List. Use for \"How many species are on the IUCN Red List\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_species_count_statisticsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}