Skip to main content
GET
/
sandbox
/
github
/
{sandbox_id}
/
dump
Export github sandbox data
curl --request GET \
  --url https://api.klavis.ai/sandbox/github/{sandbox_id}/dump \
  --header 'Authorization: Bearer <token>'
{
  "sandbox_id": "<string>",
  "server_name": "jira",
  "dumped_at": "2023-11-07T05:31:56Z",
  "data": {
    "repos": [
      {
        "name": "<string>",
        "description": "<string>",
        "branches": [
          {
            "name": "<string>",
            "folders": {
              "name": "<string>",
              "path": "<string>",
              "files": [
                {
                  "name": "<string>",
                  "path": "<string>",
                  "content": "<string>"
                }
              ],
              "folders": [
                "<unknown>"
              ]
            }
          }
        ],
        "prs": [
          {
            "title": "<string>",
            "head": "<string>",
            "id": 123,
            "body": "<string>",
            "state": "open",
            "base": "main",
            "labels": [
              "<string>"
            ]
          }
        ],
        "issues": [
          {
            "title": "<string>",
            "id": 123,
            "body": "<string>",
            "state": "open",
            "labels": [
              "<string>"
            ]
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

sandbox_id
string
required

The unique sandbox identifier

Response

Successful Response

sandbox_id
string
required

Sandbox identifier

server_name
enum<string>
required

MCP server type

Available options:
jira,
github,
salesforce,
hubspot,
notion,
airtable,
linear,
asana,
google_sheets,
google_drive,
google_docs,
gmail,
google_calendar,
google_forms,
clickup,
close,
monday,
motion,
onedrive,
microsoft_teams,
outlook_mail,
Cal.com,
quickbooks,
moneybird,
dropbox,
shopify,
outlook_calendar,
resend,
wordpress,
mem0,
supabase,
slack,
confluence,
discord,
snowflake,
google_cloud
dumped_at
string<date-time>
required

Timestamp of dump

data
GitHubData · object
required

Dumped sandbox data in server-specific format