Skip to main content
POST
Search text in a Computer Agent workspace

Authorizations

token
string
query
required

Vida API Token

Path Parameters

targetAccountId
string
required

Body

application/json
path
string
required

Workspace-relative file or directory to search.

Maximum string length: 4096
pattern
string
required

Plain text to find.

Maximum string length: 500
glob
string

Optional file pattern, such as *.js.

Maximum string length: 500
ignoreCase
boolean

Set to true to ignore capitalization differences.

context
integer

Number of surrounding lines to include.

Required range: 0 <= x <= 5
limit
integer

Maximum number of matches to return.

Required range: 1 <= x <= 200

Response

200

Successful response