{"openapi":"3.1.0","info":{"title":"Semantic Scholar (BYOK) API","version":"0.1.0","description":"Semantic Scholar (BYOK) lets an AI assistant read your own Semantic Scholar data through the Semantic Scholar API with a key you supply (Semantic Scholar API key). Read-only: 8 tools (search_papers, get_paper, find_paper_by_title, list_paper_citations, list_paper_references, search_authors, get_author, list_author_papers). The BYOK key travels with each request, is used for that one call only and...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-semanticscholar.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-semanticscholar/docs"},"termsOfService":"https://connectorbay.com/byok-semanticscholar/terms"},"servers":[{"url":"https://byok-semanticscholar.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-semanticscholar/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/search_papers":{"post":{"operationId":"search_papers","summary":"Relevance search over papers by plain-text query (no special syntax). Returns up to 100 papers per page with title, year","description":"Relevance search over papers by plain-text query (no special syntax). Returns up to 100 papers per page with title, year, venue, citation counts, authors and open-access PDF link. Page with offset; the answer carries total and next. Use for \"Find highly cited papers about retrieval augmented generation from 2023 onward\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Plain-text search query. Hyphens match nothing, so write them as spaces.","maxLength":300,"title":"Query","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url","description":"Comma-separated fields to return for each paper. Examples: title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url. paperId is always returned.","title":"Fields"},"year":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Publication year or inclusive range, for example 2019 or 2016-2020 (open ends such as 2010- also work).","title":"Year"},"min_citation_count":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only papers with at least this many citations.","title":"Min Citation Count"},"fields_of_study":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields of study, for example 'Computer Science,Medicine'.","title":"Fields Of Study"},"publication_types":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated publication types, for example 'JournalArticle,Review' (also Conference, Book, ClinicalTrial, Dataset, News).","title":"Publication Types"},"venue":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated venue names (an ISO4 abbreviation also works).","title":"Venue"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging (default 0).","title":"Offset"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Limit"}},"required":["query"],"title":"search_papersArguments","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_paper":{"post":{"operationId":"get_paper","summary":"Get one paper by id, DOI or arXiv id: title, abstract, year, venue, citation counts, authors, open-access PDF and extern","description":"Get one paper by id, DOI or arXiv id: title, abstract, year, venue, citation counts, authors, open-access PDF and external ids. Use for \"Show the details of the paper with DOI 10.18653/v1/N18-3011\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"paper_id":{"description":"Paper identifier: a Semantic Scholar id, or DOI:<doi>, ARXIV:<id>, CorpusId:<n>, PMID:<n>, PMCID:<n>, ACL:<id> or URL:<arxiv/semanticscholar url>.","maxLength":200,"title":"Paper Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url,abstract,referenceCount,fieldsOfStudy,tldr","description":"Comma-separated fields to return for each field of the paper. Examples: title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url,abstract,referenceCount,fieldsOfStudy,tldr. paperId is always returned.","title":"Fields"}},"required":["paper_id"],"title":"get_paperArguments","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/find_paper_by_title":{"post":{"operationId":"find_paper_by_title","summary":"Find the single paper whose title best matches a title string; returns the match score with the paper. Use for \"Which pa","description":"Find the single paper whose title best matches a title string; returns the match score with the paper. Use for \"Which paper is titled 'Attention is all you need'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Title (or close to it) of the paper to find.","maxLength":300,"title":"Query","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url","description":"Comma-separated fields to return for each paper. Examples: title,year,venue,publicationDate,citationCount,influentialCitationCount,isOpenAccess,openAccessPdf,authors,externalIds,url. paperId is always returned.","title":"Fields"},"year":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Publication year or inclusive range to narrow the match, for example 2017.","title":"Year"}},"required":["query"],"title":"find_paper_by_titleArguments","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_paper_citations":{"post":{"operationId":"list_paper_citations","summary":"List papers that cite a paper, with whether each citation is influential and the citing paper's details. Page with offse","description":"List papers that cite a paper, with whether each citation is influential and the citing paper's details. Page with offset (limit up to 1000). Use for \"Which papers cite 'Attention is all you need' (ARXIV:1706.03762)\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"paper_id":{"description":"Paper identifier: a Semantic Scholar id, or DOI:<doi>, ARXIV:<id>, CorpusId:<n>, PMID:<n>, PMCID:<n>, ACL:<id> or URL:<arxiv/semanticscholar url>.","maxLength":200,"title":"Paper Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"isInfluential,contexts,title,year,venue,citationCount,authors","description":"Comma-separated fields to return for each citation. Examples: isInfluential,contexts,title,year,venue,citationCount,authors. paperId is always returned.","title":"Fields"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging (default 0).","title":"Offset"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 1000).","title":"Limit"}},"required":["paper_id"],"title":"list_paper_citationsArguments","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_paper_references":{"post":{"operationId":"list_paper_references","summary":"List the references a paper cites, with whether each is influential and the cited paper's details. Page with offset (lim","description":"List the references a paper cites, with whether each is influential and the cited paper's details. Page with offset (limit up to 1000). Use for \"What does the paper ARXIV:1706.03762 cite\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"paper_id":{"description":"Paper identifier: a Semantic Scholar id, or DOI:<doi>, ARXIV:<id>, CorpusId:<n>, PMID:<n>, PMCID:<n>, ACL:<id> or URL:<arxiv/semanticscholar url>.","maxLength":200,"title":"Paper Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"isInfluential,contexts,title,year,venue,citationCount,authors","description":"Comma-separated fields to return for each reference. Examples: isInfluential,contexts,title,year,venue,citationCount,authors. paperId is always returned.","title":"Fields"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging (default 0).","title":"Offset"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 1000).","title":"Limit"}},"required":["paper_id"],"title":"list_paper_referencesArguments","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/search_authors":{"post":{"operationId":"search_authors","summary":"Search authors by name. Returns up to 1000 authors per page with affiliations, paper count, citation count and h-index. ","description":"Search authors by name. Returns up to 1000 authors per page with affiliations, paper count, citation count and h-index. Use for \"Find the author Yoshua Bengio and his h-index\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Author name, plain text.","maxLength":200,"title":"Query","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"name,affiliations,homepage,paperCount,citationCount,hIndex,url","description":"Comma-separated fields to return for each author. Examples: name,affiliations,homepage,paperCount,citationCount,hIndex,url. paperId is always returned.","title":"Fields"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging (default 0).","title":"Offset"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 1000).","title":"Limit"}},"required":["query"],"title":"search_authorsArguments","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_author":{"post":{"operationId":"get_author","summary":"Get one author's profile: name, affiliations, homepage, paper count, citation count and h-index. Use for \"What is the h-","description":"Get one author's profile: name, affiliations, homepage, paper count, citation count and h-index. Use for \"What is the h-index of author 1741101\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"author_id":{"description":"Semantic Scholar author id (digits), as returned by search_authors or in a paper's authors list.","maxLength":40,"title":"Author Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"name,affiliations,homepage,paperCount,citationCount,hIndex,url","description":"Comma-separated fields to return for each field of the author. Examples: name,affiliations,homepage,paperCount,citationCount,hIndex,url. paperId is always returned.","title":"Fields"}},"required":["author_id"],"title":"get_authorArguments","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_author_papers":{"post":{"operationId":"list_author_papers","summary":"List the papers of an author with year, venue and citation counts. Page with offset (limit up to 1000). Use for \"List th","description":"List the papers of an author with year, venue and citation counts. Page with offset (limit up to 1000). Use for \"List the most recent papers of author 1741101\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"author_id":{"description":"Semantic Scholar author id (digits), as returned by search_authors or in a paper's authors list.","maxLength":40,"title":"Author Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"title,year,venue,publicationDate,citationCount,externalIds,url","description":"Comma-separated fields to return for each paper. Examples: title,year,venue,publicationDate,citationCount,externalIds,url. paperId is always returned.","title":"Fields"},"publication_date_or_year":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Inclusive range 'start:end' of dates (YYYY-MM-DD) or years, for example 2020-01-01:2024-12-31.","title":"Publication Date Or Year"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging (default 0).","title":"Offset"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 1000).","title":"Limit"}},"required":["author_id"],"title":"list_author_papersArguments","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}}}}