Skip to main content
POST
/
research-papers
curl --request POST \
  --url https://apigcp.trynia.ai/v2/research-papers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "2312.00752"
}
'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"arxiv_id": "2312.00752",
"title": "Attention Is All You Need",
"authors": [
"Ashish Vaswani",
"Noam Shazeer",
"Niki Parmar"
],
"abstract": "The dominant sequence transduction models are based on complex recurrent or convolutional neural networks...",
"categories": [
"cs.CL",
"cs.LG"
],
"primary_category": "cs.CL",
"status": "processing",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"chunk_count": 0,
"pdf_url": "https://arxiv.org/pdf/2312.00752.pdf",
"abs_url": "https://arxiv.org/abs/2312.00752"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
url
string
required

arXiv URL or raw ID. Supports multiple formats:

Example:

"2312.00752"

Response

Research paper indexing started or completed successfully

id
string

Unique identifier for the data source

arxiv_id
string

The arXiv identifier (e.g., "2312.00752")

title
string

Paper title extracted from arXiv

authors
string[]

List of paper authors

abstract
string

Paper abstract

categories
string[]

arXiv categories (e.g., ["cs.CL", "cs.AI"])

primary_category
string

Primary arXiv category

status
enum<string>

Current indexing status (aligned with DataSourceResponse)

Available options:
pending,
processing,
completed,
failed,
error
created_at
string<date-time>
updated_at
string<date-time>
chunk_count
integer
default:0

Number of text chunks created from the paper

doi
string | null

DOI if available

published_date
string | null

Publication date from arXiv

pdf_url
string

Direct URL to the PDF

abs_url
string

URL to the arXiv abstract page

error
string | null

Error message if status is 'failed'