# Get Repo Connection

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get Repo Connection"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v2/skills/repo-connection"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Return the organization's current skills repository connection.

Responds with ``connected=false`` (rather than a 404) when the organization has no connection yet.

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

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

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"content":{"application/json":{"schema":{"description":"The org's current *connected* skills repo (the GitHub App install flow), if any.","properties":{"connected":{"description":"Whether the organization has connected its own GitHub repo.","title":"Connected","type":"boolean"},"connected_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When the connection was created.","title":"Connected At"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Connected repository as \"owner/name\".","title":"Repository"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Provenance tag for skills from this repo (e.g. ORG).","title":"Source"}},"required":["connected"],"title":"RepoConnectionResponse","type":"object"}}},"description":"Returns the organization's current skills repository connection, or connected=false when none exists."},"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>
