curl --request POST \
--url https://your-instance.example.com/api/parse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repoUrl": "https://github.com/your-org/your-repo"
}
'{
"message": "Parse queued",
"project": "/your-org/your-repo",
"queueId": 5,
"position": 1
}{
"error": "repoUrl is required"
}{
"error": "Authentication required"
}{
"error": "An unexpected error occurred"
}Parse
Parse a Git repository
Queue a GitHub or GitLab repository for parsing and indexing
POST
/
parse
curl --request POST \
--url https://your-instance.example.com/api/parse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repoUrl": "https://github.com/your-org/your-repo"
}
'{
"message": "Parse queued",
"project": "/your-org/your-repo",
"queueId": 5,
"position": 1
}{
"error": "repoUrl is required"
}{
"error": "Authentication required"
}{
"error": "An unexpected error occurred"
}Authorizations
API key generated from Personal Settings. See Authentication.
Body
application/json
Response
Parse job accepted and queued
Was this page helpful?