Health check endpoint
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/health/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Search patents by keyword in title
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keyword"
},
"limit": {
"default": 10,
"description": "Max results (1-100)",
"type": "number"
}
},
"required": [
"query",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/search/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"query": "<Search keyword>",
"limit": 0
}
}
'
Get detailed patent information by patent number
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"patentId": {
"type": "string",
"description": "Patent number (e.g., '7861317')"
}
},
"required": [
"patentId"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/patent/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"patentId": "<Patent number (e.g., '7861317')>"
}
}
'
Get recently granted patents within a date range
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"startDate": {
"type": "string",
"description": "Start date (YYYY-MM-DD)"
},
"endDate": {
"type": "string",
"description": "End date (YYYY-MM-DD)"
},
"limit": {
"default": 25,
"description": "Max results",
"type": "number"
}
},
"required": [
"startDate",
"endDate",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/recent/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"startDate": "<Start date (YYYY-MM-DD)>",
"endDate": "<End date (YYYY-MM-DD)>",
"limit": 0
}
}
'
Find patents by inventor name
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Inventor name (first or last)"
}
},
"required": [
"name"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/inventor/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"name": "<Inventor name (first or last)>"
}
}
'
Find patents by company/assignee name
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Company or organization name"
}
},
"required": [
"name"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://patent-agent-production.up.railway.app/entrypoints/company/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"name": "<Company or organization name>"
}
}
'