> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://tester.army/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://tester.army/_mcp/server.

# Get a project

GET https://tester.army/api/v1/projects/{projectId}

Get a single project by ID or shortId.

Reference: https://tester.army/docs/api-reference/tester-army-api/projects/get-a-project

## Authentication

- `Authorization` header (bearer token, required) — API key authentication using Bearer token format

## Request

### Path parameters

- `projectId` (string, required) — Project ID or shortId

## Response

### 200

Project details

- `id` (string, required)
- `shortId` (string, required, nullable)
- `name` (string, required)
- `url` (string, required, nullable)
- `projectType` (enum, required)
  - Allowed values: `web`, `mobile`
- `description` (string, required, nullable)
- `environments` (list of object, required)
  - `id` (string, required)
  - `name` (string, required)
  - `slug` (string, required)
  - `kind` (enum, required)
    - Allowed values: `production`, `pr_preview`, `static`
  - `url` (string, required, nullable)
- `browserRegion` (enum, optional, nullable) — Default proxy exit region for web runs. null keeps the provider's default networking. Web projects only.
  - Allowed values: `eu`, `us`
- `prTestingEnabled` (boolean, optional) — Test PR deployments automatically.
- `prTestingInstructions` (string, optional, nullable) — Free-form instructions for the PR exploration agent.
- `prTestingDebounceMinutes` (integer, optional) — Quiet period before a PR deployment is tested. 0 disables debouncing.
- `prTestingBlockMerge` (boolean, optional) — Conclude the GitHub check run as failed when tests fail, so a required TesterArmy check blocks the merge. Off by default.
- `includeExampleMobileApp` (boolean, optional) — Offer the example app as a run target. Mobile projects only.
- `autoDeleteOldestMobileApp` (boolean, optional) — Delete the oldest unused app builds when an upload exceeds the storage quota. Mobile projects only.
- `accessibilityAuditEnabled` (boolean, optional) — Scan visited pages with axe-core during web runs and report critical accessibility violations as non-blocking warnings. On by default. Web projects only.
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)

## Examples

**Response**

```json
{
  "id": "string",
  "shortId": "string",
  "name": "string",
  "url": "string",
  "projectType": "web",
  "description": "string",
  "environments": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "kind": "production",
      "url": "string"
    }
  ],
  "browserRegion": "eu",
  "prTestingEnabled": true,
  "prTestingInstructions": "string",
  "prTestingDebounceMinutes": 1,
  "prTestingBlockMerge": true,
  "includeExampleMobileApp": true,
  "autoDeleteOldestMobileApp": true,
  "accessibilityAuditEnabled": true,
  "createdAt": "2024-01-15T09:30:00Z",
  "updatedAt": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://tester.army/api/v1/projects/projectId"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://tester.army/api/v1/projects/projectId';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://tester.army/api/v1/projects/projectId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://tester.army/api/v1/projects/projectId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://tester.army/api/v1/projects/projectId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tester.army/api/v1/projects/projectId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://tester.army/api/v1/projects/projectId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://tester.army/api/v1/projects/projectId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```