Skip to main content
GET
/
applications
/
{id}
/
repository
/
search
Search application repository code
curl --request GET \
  --url https://api.sevalla.com/v3/applications/{id}/repository/search \
  --header 'Authorization: Bearer <token>'
{
  "matches": [
    {
      "path": "src/server.ts",
      "ref": "main",
      "line": 12,
      "preview": "const createServer = () => {}"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://api-docs.sevalla.com/llms.txt

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

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Application identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Query Parameters

query
string
required

Code search query. Searches file contents in the repository.

Minimum string length: 1
Example:

"createServer"

Response

Default Response

matches
object[]
required

Matching code locations