Retrieve a specific Build resource

GET /v1/Services/{ServiceSid}/Builds/{Sid}/Status

The status of a Build resource.

Retrieve a specific Build resource.

Path parameters

  • ServiceSid string Required

    The SID of the Service to fetch the Build resource from.

  • Sid string Required

    The SID of the Build resource to fetch.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the Build resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • service_sid string | null

      The SID of the Service that the Build resource is associated with

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZS[0-9a-fA-F]{32}$.

    • sid string | null

      The unique string that identifies the Build resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^ZB[0-9a-fA-F]{32}$.

    • status string | null

      The status of the Build

      Values are building, completed, or failed.

    • url string(uri) | null

      The absolute URL of the Build Status resource

GET /v1/Services/{ServiceSid}/Builds/{Sid}/Status
curl \
 -X GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Builds/{Sid}/Status \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "service_sid": "string",
  "sid": "string",
  "status": "building",
  "url": "https://example.com"
}