Export search results as TSV
GET/api/datasets/:slug/export
Export filtered search results as a downloadable TSV file. Supports the same search parameters as the token search endpoint.
TSV Columns
- Sentence: Full sentence text
- Split: train or test
- SentenceId: Sentence index
- MatchedTokens: Space-separated matched tokens
- MatchedTags: Space-separated tags of matched tokens
- MatchPositions: Comma-separated position indices
- MatchTypes: Comma-separated match types (token/tag)
Request
Responses
- 200
- 404
- 500
TSV file download
Response Headers
Content-Disposition
Attachment filename
Dataset or dataset files not found
Internal server error