Skip to main content
GET
/
sources
/
resolve
Resolve source identifier
curl --request GET \
  --url https://apigcp.trynia.ai/v2/sources/resolve \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "repository",
  "display_name": "<string>",
  "identifier": "<string>"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Query Parameters

identifier
string
required
type
enum<string>

Unified source type

Available options:
repository,
documentation,
research_paper,
huggingface_dataset,
local_folder

Response

200 - application/json

OK

id
string
required
type
enum<string>
required

Unified source type

Available options:
repository,
documentation,
research_paper,
huggingface_dataset,
local_folder
display_name
string
identifier
string