Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$2?q=api&page=22&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 18047 results for "api"(493ms)

myApi1 file match

@sbeben•Updated 1 year ago

myApi1 file match

@speepo•Updated 1 year ago

myApi1 file match

@quinn•Updated 1 year ago

myApi1 file match

@wlt•Updated 1 year ago

myApi1 file match

@carlosrgl•Updated 1 year ago

runValAPIEx2 file matches

@stevekrouse•Updated 1 year ago

valtownAPIExamples2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@fsawakta•Updated 1 year ago

myApi1 file match

@baiheinet•Updated 1 year ago

myApi1 file match

@devn•Updated 1 year ago

leximain.tsx2 matches

@legal•Updated 55 mins ago
466 } else { return content; }
467 } catch (error) {
468 console.error(`${agentName} OpenAI API call failed:`, error);
469 let errMsg = "AI communication error.";
470 if (error.message) errMsg += ` Details: ${error.message}`;
471 if (error.cause) errMsg += ` Cause: ${error.cause}`;
472 log.push({ agent: agentName, type: "error", message: errMsg });
473 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
474 }
475 }

intentmain.tsx2 matches

@legal•Updated 1 hour ago
222 }
223 } catch (error) {
224 console.error(agentName, "OpenAI API call error:", error);
225 let errMsg = "AI communication error.";
226 if (error.message) errMsg += ` Message: ${error.message}`;
227 if (error.cause) errMsg += ` Cause: ${JSON.stringify(error.cause)}`;
228 log.push({ agent: agentName, type: "error", message: errMsg });
229 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
230 }
231}
Kapil01
apiv1