Skip to main content
No Result Found

Get project list API in Test Observability

Projects are organizational structures for builds. Use this REST API to access the project list along with the metadata and other basic details of the projects.

get project list

GET https://api-observability.browserstack.com/ext/v1/projects

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-observability.browserstack.com/ext/v1/projects
  • next_page String

    Used to fetch subsequent pages of the project list. Pass the next_page reference received in the response of last request.

Response Attributes 200 OK JSON

Response

{
    "projects": [
        {
            "id": 825,
            "name": "Test Observability Samples",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2023-12-14T11:37:50.000+00:00",
            "updated_at": "2024-05-08T12:45:34.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Test+Observability+Samples/builds"
        },
        {
            "id": 2374,
            "name": "NODEJS MOCHA - screenshot",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T10:00:51.000+00:00",
            "updated_at": "2024-05-08T10:00:51.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/NODEJS+MOCHA+-+screenshot/builds"
        },
        {
            "id": 2361,
            "name": "Automation-rl9-1715157274980",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:34:46.000+00:00",
            "updated_at": "2024-05-08T08:34:47.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-rl9-1715157274980/builds"
        },
        {
            "id": 2359,
            "name": "Automation-3au-1715157227518",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:34:01.000+00:00",
            "updated_at": "2024-05-08T08:34:01.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-3au-1715157227518/builds"
        },
        {
            "id": 2357,
            "name": "Automation-97k-1715157159180",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:33:04.000+00:00",
            "updated_at": "2024-05-08T08:33:36.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-97k-1715157159180/builds"
        },
        {
            "id": 2358,
            "name": "Automation-y13-1715157166873-rename",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:33:04.000+00:00",
            "updated_at": "2024-05-08T08:33:04.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-y13-1715157166873-rename/builds"
        },
        {
            "id": 2356,
            "name": "Automation-1fy-1715157079978",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:32:14.000+00:00",
            "updated_at": "2024-05-08T08:32:14.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-1fy-1715157079978/builds"
        },
        {
            "id": 2355,
            "name": "Automation-wew-1715157089043",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:31:43.000+00:00",
            "updated_at": "2024-05-08T08:32:14.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-wew-1715157089043/builds"
        },
        {
            "id": 2354,
            "name": "Automation-1fy-1715157079978-rename rename",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:31:31.000+00:00",
            "updated_at": "2024-05-08T08:31:31.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-1fy-1715157079978-rename+rename/builds"
        },
        {
            "id": 2353,
            "name": "Automation-mhh-1715157020341",
            "group_id": 2,
            "created_by": 104,
            "created_at": "2024-05-08T08:30:34.000+00:00",
            "updated_at": "2024-05-08T08:31:02.000+00:00",
            "observability_url": "https://observability.browserstack.com/projects/Automation-mhh-1715157020341/builds"
        }
    ],
    "pagination": {
        "has_next": true,
        "next_page": "eyJvZmZzZXQiOiIxIn0="
    }
} 
  • projects Object

    A list of projects along with the metadata and basic details.

    SHOW VALUES
    • id Integer

      ID of the project.

    • name String

      Name of the project.

    • group_id Integer

      Identifier for your account or group.

    • created_by Integer

      Identifier for the user who created the project.

    • created_at String

      Timestamp of when the project was created on BrowserStack servers.

    • updated_at String

      Timestamp of when the project was last updated on BrowserStack servers.

    • observability_url String

      URL to the project in Test Observability.

  • pagination

    Specifies if there is a next page and provides a reference to the next page.

    SHOW VALUES
    • has_next Boolean

      True if there is a next page. False if there is no next page.

    • next_page String

      A reference to the next page. Pass this as a request parameter in the subsequent request as “next_page” to get the next page of records.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Download Copy Check Circle