Skip to main content
GET
/
api
/
v2
/
skills
/
{name}
Retrieve a skill
curl --request GET \
  --url https://agp.eu.hcompany.ai/api/v2/skills/{name} \
  --header 'Authorization: Bearer <token>'
Retrieves the complete Skill object. Returns the Skill object if the name is valid and you have access.

Path parameters

name
string
required
The skill’s name (e.g. extract-table-data or myorg/web-helper). Slash-containing names are supported.

Examples

curl "https://agp.eu.hcompany.ai/api/v2/skills/extract-table-data" \
  -H "Authorization: Bearer $H_API_KEY"
Response
{
  "name": "extract-table-data",
  "description": "Extract structured data from HTML tables into JSON.",
  "body": "When you encounter an HTML table, extract all rows and columns into a JSON array of objects, using the headers as keys.",
  "source": null,
  "url_pattern": null
}

Errors

StatusCause
404Skill not found or you don’t have access.