Extract Citation

Extract the relevant excerpts from a tool_result that support a citation.

Given:

  • tool_result: The full data returned by a tool call
  • citation_id: The citation number (e.g., 1 for [1])
  • text_with_citation: The text that cites this data (e.g., "There are 3 errors [1]")

Returns:

  • excerpts: List of relevant chunks from tool_result that support the citation
post/api/extract-citation

Request

  • Base URL: https://api.deeptrace.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.deeptrace.com/api/extract-citation
  • Auth: none declared

Request body

tool_resultstring required
citation_idinteger required
text_with_citationstring required
team_idstring nullable

Response

Successful Response

excerptsstring[] required

Changes

No recorded changes to this operation across all 39 revisions of this API.