Skip to content

add_repo

Directly add specific repositories to a running Polygraph session.

Accepts a slug, name, owner/repo full name, or repository ID for each repo to add. Skips the list_repos discovery step when the exact repo ref is already known. Use list_repos only when you need to discover or choose repositories.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID.
repoIdsarrayyesSpecific repository refs to add directly to the session. Accepts a slug, name, owner/repo full name, or repository id.