Skip to main content
POST
/
projects
/
{projectId}
/
refresh
Refresh a library
curl --request POST \
  --url https://your-instance.example.com/api/projects/{projectId}/refresh \
  --header 'Authorization: Bearer <token>'
{ "message": "Parse queued", "project": "/your-org/your-repo", "queueId": 5, "position": 1 }

Authorizations

Authorization
string
header
required

API key generated from Personal Settings. See Authentication.

Path Parameters

projectId
string
required

Project identifier without the leading slash. For repositories use owner/repo (e.g. upstash/ratelimit-js). For websites use websites/hostname (e.g. websites/upstash). For OpenAPI specs use openapi/derived-name.

Response

Parse job accepted and queued

message
string
required
Example:

"Parse queued"

project
string
required

Project identifier assigned to this library (e.g. /your-org/your-repo)

Example:

"/your-org/your-repo"

queueId
integer
required

Numeric ID for this parse job

Example:

5

position
integer | null

Position in the queue. null if the job started immediately

Example:

1