Skip to main content
POST
Search file contents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
pattern
string
required

Regular expression to search for. Up to 500 characters.

path
string

Folder or file to search. Defaults to the workspace root.

include
string

Glob filter for file names, for example *.ts.

sandbox_id
string

Run in a named sandbox instead of the workspace's default one. Ids are scoped to the workspace.

Response

Successful response

The response is of type object.