Skip to content
Connect an agent

Organisations

Read the Azure DevOps connector

Whether this server can connect Azure DevOps, whether the plan has it, and who connected which Microsoft account and when.

GET/orgs/{org}/connectors/azure-devops

TL;DR

QuestionAnswer
What does it do?Read the Azure DevOps connector.
What does it take?org in the path.
What does it return?Status 200 with a body of type OrgAzureDevopsConnector.
What can go wrong?401 not signed in; 403 not the owner or an admin (orgs.forbidden), or the plan has no trusted publishers (plan.trusted_publishers_not_included); 404 no such organisation, or the caller is not a member of it; 429 too many requests; 503 organisations are not available on this server (orgs.unavailable), or it has no Microsoft Entra app for the connector (azure_devops.not_configured). Every failure uses the one error envelope.

What it does

Whether this server can connect Azure DevOps, whether the plan has it, and who connected which Microsoft account and when. Never the token. The owner and the admins.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.

Responses

StatusMeaningBody
200The connector.OrgAzureDevopsConnector
401Not signed in.ErrorResponse
403Not the owner or an admin (orgs.forbidden), or the plan has no trusted publishers (plan.trusted_publishers_not_included).ErrorResponse
404No such organisation, or the caller is not a member of it.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not available on this server (orgs.unavailable), or it has no Microsoft Entra app for the connector (azure_devops.not_configured).ErrorResponse

Response body

A 200 answer has the type OrgAzureDevopsConnector.

FieldTypeRequiredDescription
configuredbooleanyesWhether this server has the Microsoft Entra app the connector signs in with. When false, the trusted publisher form keeps its typed fields.
availablebooleanyesWhether the plan has trusted publishers, which the connector serves: Pro and Enterprise.
planstringyes
connectionobject | nullyesThe sign-in, or null when nobody has connected Azure DevOps. The token is never answered.
connection.accountLabelstring | nullyesThe Microsoft account's address or display name, whose access the lists use.
connection.connectedByobject | nullyesThe Plotwork account that connected it, or null when that account is gone.
connection.connectedBy.idstringyes
connection.connectedBy.emailstringyes
connection.connectedBy.namestring | nullyes
connection.connectedAtintegeryes

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools