# Get Skill History

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get Skill History"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v2/skills/{skill_id}/history"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Get Skill History

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"path","name":"skill_id","required":true,"schema":{"title":"Skill Id","type":"string"}},{"description":"Which connected repo the skill lives in (e.g. DEEPSET for the shared repo, ORG for the organization's own repo). Defaults to the organization's own repo, then the shared repo.","in":"query","name":"source","required":false,"schema":{"anyOf":[{"description":"Provenance of a skill, for the catalog to badge (e.g. \"Built by deepset\").","enum":["DEEPSET","ORG","WORKSPACE"],"title":"SkillSource","type":"string"},{"type":"null"}],"description":"Which connected repo the skill lives in (e.g. DEEPSET for the shared repo, ORG for the organization's own repo). Defaults to the organization's own repo, then the shared repo.","title":"Source"}},{"description":"Id of the exact repo the skill lives in (from the catalog entry's 'source_id'). Preferred over 'source' when the organization has more than one repo — it names the repo unambiguously.","in":"query","name":"source_id","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Id of the exact repo the skill lives in (from the catalog entry's 'source_id'). Preferred over 'source' when the organization has more than one repo — it names the repo unambiguously.","title":"Source Id"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"content":{"application/json":{"schema":{"items":{"description":"One entry in a skill's version history (a git commit touching the skill folder).","properties":{"author":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The author of this version.","title":"Author"},"committed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO-8601 timestamp of when this version was committed.","title":"Committed at"},"message":{"description":"The commit message for this version.","title":"Commit message","type":"string"},"ref":{"description":"Git commit sha identifying this version of the skill.","title":"Ref","type":"string"}},"required":["ref","message"],"title":"SkillVersion","type":"object"},"title":"Response Get Skill History Api V2 Skills  Skill Id  History Get","type":"array"}}},"description":"Returns the version history (commits) for the skill."},"404":{"description":"The requested skill was not found. The requested skill repository was not found for this organization. It may have been disconnected — reload the skill catalog and retry."},"422":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"}}},"description":"Validation Error"}}}
>
  
</StatusCodes>
