Get a skill
GET
/skills/{skillId}
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
const skill = await client.skills.retrieve({ skillId: '<skillId>',});console.log(skill);curl -X GET 'https://app.flora.ai/api/v1/skills/<skillId>' \ -H 'Authorization: Bearer $FLORA_API_KEY'Returns a single skill owned by the authenticated user with its body. Missing and foreign skills both return 404.
Error responses use the standard error body.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” skillId
required
Skill identifier
string
Skill identifier
Responses
Section titled “ Responses ”Skill returned.
Media type application/json
object
skill_id
required
Skill identifier
string
slug
required
Skill URL slug
string
name
required
Skill name
string
description
required
Skill description
string
thumbnail_video_url
Skill thumbnail video URL
string
thumbnail_image_url
Skill thumbnail image URL
string
body
required
Skill body
string
Example
{ "skill_id": "skill_abc123", "slug": "brand-voice", "name": "Brand Voice", "description": "Writes in our brand voice.", "body": "# Brand Voice\nWrite warmly and plainly."}