# AutomationResults

## Get all JS URLs results based on input type and input value

> Fetches the results of JS URLs based on input type and input value for the authenticated user. Supports pagination, sorting, and workspace filtering.

```json
{"openapi":"3.0.0","info":{"title":"JSMON API","version":"1.0.0"},"servers":[{"url":"https://api-dev.jsmon.sh","description":"Development Server (For internal testing)"},{"url":"https://api.jsmon.sh","description":"Production Server (Stable release)"}],"paths":{"/api/v2/getAllJsUrlsResults":{"get":{"summary":"Get all JS URLs results based on input type and input value","description":"Fetches the results of JS URLs based on input type and input value for the authenticated user. Supports pagination, sorting, and workspace filtering.","tags":["AutomationResults"],"parameters":[{"in":"query","name":"inputType","schema":{"type":"string","enum":["domainname","extracteddomains","s3domains","url","extractedurls","emails","ipv4addresses","ipv6addresses","jwttokens","gqlquery","gqlmutation","guids","apipaths","vulnerabilities","nodemodules","domainstatus","queryparamsurls","socialmediaurls","filteredporturls","gqlfragment","s3domainsinvalid","fileextensionurls","localhosturls"]},"required":true,"description":"Type of input to search for (e.g., domainname, url, etc.)"},{"in":"query","name":"input","schema":{"type":"string"},"required":true,"description":"Input value to search based on input type"},{"in":"query","name":"size","schema":{"type":"string"},"required":false,"description":"Number of records per page (default is 10)"},{"in":"query","name":"start","schema":{"type":"string"},"required":false,"description":"Starting index for pagination (default is 0)"},{"in":"query","name":"sortBy","schema":{"type":"string","enum":["url","createdAt"]},"required":false,"description":"Field to sort by (default is 'url')"},{"in":"query","name":"sortOrder","schema":{"type":"string","enum":["asc","dsc"]},"required":false,"description":"Sort order (default is 'asc')"},{"in":"query","name":"wkspId","schema":{"type":"string"},"required":false,"description":"Workspace ID for filtering"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"The URL found in the results"},"jsmonId":{"type":"string","description":"The associated JSMon ID"},"createdAt":{"type":"string","format":"date-time","description":"Creation date of the result"}}}}}}}}},"400":{"description":"Invalid input or missing required fields","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Unauthorized user","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledge.jsmon.sh/api-reference/reference/automationresults.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
