---
title: "Get server info (Agent Token)"
method: GET
path: "/agent/server-info"
tags: ["Agent"]
---

# Get server info (Agent Token)

`GET /agent/server-info`

Returns repository configuration for a server. Authenticated via agent token.

## Response `200`

OK

- PkgServerServerInfoResponse
  - `auto_reconcile` boolean
  - `branch` string
  - `deploy_path` string
  - `repo_url` string
  - `target_commit_hash` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/pullbase/apis/untitled-api.md) · [All operations](https://skmtc.dev/pullbase/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pullbase/untitled-api/revisions/edf8355bf78c/schema)
