Skip to main content
GET
/
api
/
v1
/
repositories
/
lookup
Resolve a git remote URL or full path to a repository in this workspace.
curl --request GET \
  --url https://api.example.com/api/v1/repositories/lookup \
  --header 'X-API-Key: <api-key>'
{
  "archived": true,
  "clone_url": "<string>",
  "connected_org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "default_branch": "<string>",
  "full_path": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_activity_at": "2023-11-07T05:31:56Z",
  "last_commit_sha": "<string>",
  "last_scanned_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "platform_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Query Parameters

url
string | null

Git remote URL (https or ssh form, with or without .git suffix).

full_path
string | null

Repository full path within its host (e.g. 'myorg/repo'). Case-insensitive.

Cookies

riftmap_access
string | null

Response

Successful Response

Basic repository record.

archived
boolean
required
clone_url
string
required
connected_org_id
string<uuid>
required
created_at
string<date-time>
required
default_branch
string
required
full_path
string
required
id
string<uuid>
required
last_activity_at
string<date-time> | null
required
last_commit_sha
string | null
required
last_scanned_at
string<date-time> | null
required
name
string
required
platform_id
string
required